<a href="http://www.nfl.com/news/">NFL News</a>where ‘
a
’ and ‘/a
’ delimit an anchor, and “href
” introduces a hypertext reference, which in this case is a URL.
The text “NFL News” will be the label appearing on the link in the browser.
On the other hand, the last tag </html>
means the end of the HTML document.
An example of the correct structure for an HTML document is on the right, where the directory public_html is usually used to store web pages.
|
|
~/public_html/Demo.html
http://undcemcs01.und.edu/~userid/Demo.html
.<html>
, which tells the browser that this is the start of an HTML document.
On the other hand, the last tag </html>
means the end of the HTML document.
<head>
tag and the </head>
tag is header information, which is not displayed in the browser window.
<title>
tags is the title of your document, which is displayed in the browser’s caption.
<body>
tags is the text that will be displayed in the browser.
<b>
tags will be displayed in a bold font.
◀
Previous |
Slide 6.1: HTML (HyperText Markup Language) Slide 6.3: A list of HTML tags Home Print version |
▶
Next |
I may not have gone where I intended to go, but I think I have ended up where I intended to be. — Douglas Adams |