Presentation is loading. Please wait.

Presentation is loading. Please wait.

<html> This tag is used to begin each html document

Similar presentations


Presentation on theme: "<html> This tag is used to begin each html document"— Presentation transcript:

1 <html> This tag is used to begin each html document
<html> This tag is used to begin each html document. Html means HyperText Markup Language

2 BASIC HTML PROGRAMMING
ETEC 562 Facilitated by ROBERT CALVERY

3 Every webpage must include the following in order to be displayed in a browser.
<html> <head> <title> </title> <body> </body> </head> </html>

4 Not all of the tags have to use an ending tag
Not all of the tags have to use an ending tag. Examples that do not require an ending tag are: <img src> Tells the browser where to find the the image to be displayed on the webpage. <frame> Creates a split section in a webpage. <br> Creates a break in a line of text. <p> Creates a paragraph break. <hr> Creates a horizontal line on the page.

5 When you have multiple tags you must close them in last created -- first closed order.
Example: <b> <i> This is bold and italicized text. </i> </b>

6 Creating an LINK <body> <p>My address is <a href = Robert Calvery </a> . Click the address and your browser will open an message and address it to me. </p> </body>

7 HEADER SIZES <body> <h1>Level 1 Header</h1> <h2>Level 2 header</h2> <h3>Level 3 header</h3> <h4>Level 4 header</h4> <h5>Level 5 header</h5> <h6>Level 6 header</h6> </body>

8 Counter-Controlled Repetition with for structure.
<html xmlns = " <head> <title>Counter-Controlled Repetition</title> <script type = "text/javascript"> for ( var counter = 1; counter <= 7; ++counter ) document.writeln( "<p style = \"font-size: " + counter + "ex\">XHTML font size " + counter + "ex</p>" ); </script> </head> <body></body> </html>

9 Creating HYPERLINKS <body> <h1>Here are my favorite sites</h1> <p><b>Click a name to go to that page.</b></p> <p><a href = " <p><a href = " Hall</a></p> <p><a href = " <p><a href = " Today</a></p> </body>

10 Using Images as Navigation Buttons
<body> <p> <a href = "links.html"> <img src = "buttons/links.jpg" width = "65" height = "50" alt = "Links Page" /> </a><br /> <a href = "list.html"> <img src = "buttons/list.jpg" width = "65" height = "50" alt = "List Example Page" />


Download ppt "<html> This tag is used to begin each html document"

Similar presentations


Ads by Google