Creating a Web portal: Part II HyperText Markup Language (HTML) Bair-Mundy.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags.
HTML Basics Customizing your site using the basics of HTML.
Table, List, Blocks, Inline Style
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML: HyperText Markup Language Hello World Welcome to the world!
Cascading Style Sheets
1 تقنيات الانترنت عال457 HTML. 2 HTML  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web. HTML is a text formatting.
Fun with Formatting: DIV tags and Cascading Style Sheets Dr. donna Bair-Mundy.
HTML and Web Page Design Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
Basic HTML UCR Webmasters Support Group Derk Adams.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
ETT 429 Spring 2007 Web Design I.
Chapter 14 Introduction to HTML
1 Introduction to HTML. 2  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language  of Web Pages on the World Wide Web. HTML is a.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Basics of HTML.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Creating a Simple Page: HTML Overview
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
Understanding HTML Code
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
Exploring Office 2003 – Grauer and Barber Enhancing the Web Page Chapter 3 BCIS 1405 Session 15.
1.NET Web Forms HTML Introduction © 2002 by Jerry Post.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Just Enough HTML How to Create Basic HTML Documents.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Georgia Institute of Technology Making Text for the Web Barb Ericson Georgia Institute of Technology March 2006.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
HTML Assoc. Prof. Rozinah Jamaludin 28 January 2010.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Chapter 1: Intro to HTML Section 1: HTML Structure Presentation Section 2: Layout of an HTML File Section 3: Working with Lists & Tables Section 4: HTML.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
Web Basics: HTML/CSS/JavaScript What are they?
HTML Basics.
What is HTML? Acronym for: HyperText Markup Language
Creating an e-Portfolio Assignment: Part II
Introduction to HTML.
Web Languages What Is a Web Page?
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Web Languages What Is a Web Page?
Computers and Scientific Thinking David Reed, Creighton University
Basic HTML and Embed Codes
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Presentation transcript:

Creating a Web portal: Part II HyperText Markup Language (HTML) Bair-Mundy

Surfing the 'Net Client Server Webserver application responds to requests from client Browser application sends requests to server

A word about HTML HyperText Mark-up Language

Manuscript Chapter One A Mysterious Visitor It was a dark and stormy night. As was my custom on a Friday night, I was curled up in my favorite armchair reading Cataloging & Classification. All of a sudden, I heard a loud “Tap, tap, tap” on the window. Wondering what type of person would be out and about on such a stormy night, I went over, pulled aside the curtain, and peered out into the darkness.

Marked-up manuscript Chapter One A Mysterious Visitor It was a dark and stormy night. As was my custom on a Friday night, I was curled up in my favorite armchair reading Cataloging & Classification. All of a sudden, I heard a loud “Tap, tap, tap” on the window. Wondering what type of person would be out and about on such a stormy night, I went over, pulled aside the curtain, and peered out into the darkness. B A ¶ fleur graphic b.f. ital. ¶

Paste-up Chapter One A Mysterious Visitor It was a dark and stormy night. As was my custom on a Friday night, I was curled up in my favorite armchair reading Cataloging & Classification. All of a sudden, I heard a loud “Tap, tap, tap” on the window. Wondering what type of person would be out and about on such a stormy night, I went over, pulled aside the curtain, and peered out into the darkness.

ASCII (text) file Chapter One A Mysterious Visitor It was a dark and stormy night. As was my custom on a Friday night, I was curled up in my favorite armchair reading Cataloging & Classification. All of a sudden, I heard a loud “Tap, tap, tap” on the window. Wondering what type of person would be out and about on such a stormy night, I went over, pulled aside the curtain, and peered out into the darkness.

HTML file Chapter One A Mysterious Visitor It was a dark and stormy night. As was my custom on a Friday night, I was curled up in my favorite armchair reading Cataloging & Classification. All of a sudden, I heard a loud “Tap, tap, tap” on the window. Wondering what type of person would be out and about on such a stormy night, I went over, pulled aside the curtain, and peered out into the darkness. HTML tags (instructions to the browser)

Web page Chapter One A Mysterious Visitor It was a dark and stormy night. As was my custom on a Friday night, I was curled up in my favorite armchair reading Cataloging & Classification. All of a sudden, I heard a loud “Tap, tap, tap” on the window. Wondering what type of person would be out and about on such a stormy night, I went over, pulled aside the curtain, and peered out into the darkness.

Coding a Web page Create an ASCII file with textual content Use HTML tags to format text and indicate where to place graphics Place file on Web server Open directory & file to public

Paired tags... The most important thing to remember is to remain calm. This is the first lesson to be learned. If you start to … HTMLDisplays as The most important thing to remember is to remain calm. This is the first lesson to be learned. If you start to …...

Single tags Hello. My name is Kimo. Hello. My name is Kimo. HTMLDisplays as Hello. My name is Kimo. Hello. My name is Kimo. Hello. My name is Kimo. Hello. My name is Kimo.

HTML tags

Two parts of a Web page

Head of a Web page donna’s LIS 670 test file page

Title tags

Head of a Web page donna’s LIS 670 test file page

Meta tags – Dublin Core

Meta tags – Dublin Core Title Subject Description Type (e.g., image) Creator Publisher

Body of a Web page Material that will appear in the viewing window of the browser.

Adding a header My Web Portal Aloha, World!

Level 1 header

Header levels My Web Portal This is a level 2 header Aloha, World!

Header levels (cont'd)

Horizontally centering an item My Web Portal Not: My Web Portal

Centering an item (cont'd)

To a Web page in the same directory as the source file Adding a hot link Click here to go to my other file. Clickable text Link destination

To a Web page in a different location from the source file Adding a hot link Click here to go to the ALA Office of Intellectual Freedom Website. Full URL of Link destination

Using an image as a hot link IMG tells the browser to place image here SRC (source) tells the browser where to find the image URL of image in quotes

Creating paragraphs In our word processor we can just hit the Enter key a couple of times and we get a new paragraph. However, that does not work in HTML. Let’s see what this would look like if viewed in a browser. If we type this:

Creating paragraphs In our word processor we can just hit the Enter key a couple of times and we get a new paragraph. However, that does not work in HTML. Let’s see what this would look like if viewed in a browser. We get this:

Creating paragraphs In our word processor we can just hit the Enter key a couple of times and we get a new paragraph. However, that does not work in HTML. Let’s see what this would look like if viewed in a browser.

Creating paragraphs In our word processor we can just hit the Enter key a couple of times and we get a new paragraph. However, that does not work in HTML. Let’s see what this would look like if viewed in a browser.

Creating a table Neat stuff More neat stuff

Creating a table (cont'd)

Adding a table border Neat stuff More neat stuff

Adding a table border (cont'd)

Widening a table Neat stuff More neat stuff

Widening a table (cont'd)

Adding a row to the table Neat stuff More neat stuff Stupendous stuff Supercalifragilisticexpialidocious

Added row

Adding color to the table Neat stuff More neat stuff Stupendous stuff Supercalifragilisticexpialidocious

Added color

Adding color to specific cells Neat stuff More neat stuff Stupendous stuff Supercalifragilisticexpialidocious

Added color

Making table legible with colored rows Color makes row legible No color gives row contrast Color makes row legible... pink added no pink added pink added

Increased table legibility

Adding a style sheet donna’s Web portal cascading style sheet

Adding a style sheet donna’s Web portal h1 { color : green ; } h2 { color : blue ; }

Style-sheet rule SelectorDeclaration block h2 { color : blue ; } Property Value

Without a style sheet Basic HTML document with paragraphs Cascading Style Sheets Introduction Cascading Style Sheets (CSS) are used to format the way things appear on a Web page. When using Cascading Style Sheets HTML is used to provide structure and the style sheet is used to control how the elements look on the page. The Term The term "Style sheet" refers to a list of rules for formatting various elements. The word "Cascading" refers to the fact that you can have multiple style sheets which follow rules of precedence.

Without a style sheet

With a style sheet Basic HTML document with paragraphs h2 { color : blue ; } Cascading Style Sheets Introduction Cascading Style Sheets (CSS) are used to format the way things appear on a Web page. When using Cascading Style Sheets HTML is used to provide structure and the style sheet is used to control how the elements look on the page. The Term The term "Style sheet" refers to a list of rules for formatting various elements. The word "Cascading" refers to the fact that you can have multiple style sheets which follow rules of precedence.

With a style sheet

Add a little color to our header Basic HTML document with paragraphs h2 { color : blue ; background-color : pink ; } Cascading Style Sheets Introduction Cascading Style Sheets (CSS) are used to format the way things appear on a Web page. When using Cascading Style Sheets HTML is used to provide structure and the style sheet is used to control how the elements look on the page. The Term The term "Style sheet" refers to a list of rules for formatting various elements. The word "Cascading" refers to the fact that you can have multiple style sheets which follow rules of precedence.

Adding background color using our style sheet

Adding a style sheet donna’s Web portal body { background : #FFC0FF ; } h1 { color : green ; } h2 { color : blue ; }

Color coding in hexadecimal numbers #FFC0FF Red Green Blue RG B

Binary numbers Base Ten Base Two

Hexadecimal numbers F F Base Ten Base A B C D E F ABCDEF Counting… 16 1 Decimal number Hexadecimal number 0

Coding black in hexadecimal numbers #

Coding red in hexadecimal numbers #FF FF

Coding green in hexadecimal numbers #00FF00 00 FF

Coding blue in hexadecimal numbers #0000FF 00 FF

Coding white in hexadecimal numbers #FFFFFF 00 FF

Coding turquoise in hexadecimal numbers #00FFFF 00 FF

Coding fuchsia in hexadecimal numbers #FF00FF 00 FF

Coding lilac in hexadecimal numbers #FFC0FF 00 FF C0 12 x 16 = 192

Hexadecimal codes for colors Web search on: hexadecimal codes web page

The tag Basic HTML document with paragraphs h2 { color : blue ; } div { background-color : #FFDDFF} Cascading Style Sheets Introduction Cascading Style Sheets (CSS) are used to format the way things appear on a Web page. When using Cascading Style Sheets HTML is used to provide structure and the style sheet is used to control how the elements look on the page. The Term The term "Style sheet" refers to a list of rules for formatting various elements. The word "Cascading" refers to the fact that you can have multiple style sheets which follow rules of precedence.

Formatting with the div tag

Linking your pages (1) Click here to go to next page. first_page.html Click here to return to previous page. second_page.html

Alt attribute Gives text alternative for image to aid lynx users or viewers with vision problems

Table data for screen readers Neat stuff Break tag

End of Part II