HTML Notes
HTML Notes
Chapter 21
Website Authoring
Website
• A website is a collection of individual but related
web pages that are often stored together and
hosted by a web server.
Black : #000000
White : #FFFFFF
Tables in content layer
Save As intro.htm
List
• The most common HTML lists are ordered and
unordered lists:
An ordered list: An unordered list:
1.The first list item • List item
2.The second list item • List item
3.The third list item • List item
List
• An unordered list starts with the <ul> tag. Each list
item starts with the <li> tag.
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
List
• An ordered list starts with the <ol> tag. Each list
item starts with the <li> tag.
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
List
<a href=
"mailto:[email protected]?subject=Urgent%20Message">Em
ail</a>
Remember to not
leave it blank and
insert %20
Hyperlinks within a webpage
Create the Division and Set the link to it
Division
• A point of reference within a page like a bookmark
• The division starts with <div> and close with </div>
<div id=“top”> Any content could appear here </div>
Set Link
Make the word ‘top’ in the last line a hyperlink to the
top of the page.
<a href=“#top”> text </a>