Module 3 HTML Basics
Module 3 HTML Basics
HTML Basics
Learning Objectives (1 of 2)
Body Section
Contains text and elements that display in the web page document
Title Element Meta Element
Heading Element
Paragraph Element
Paragraph element
Blockquote element
• Indents a block of text for special emphasis
<b> bold text Text that has no extra importance but is styled in bold font by usage and
convention
<em> emphasized Causes text to be emphasized in relation to other text; usually displayed
text in italics
<i> italicized text Text that has no extra importance but is styled in italics by usage and
convention
<mark> mark text Text that is highlighted in order to be easily referenced (HTML5 only)
<small> small text Legal disclaimers and notices (“fine print”) displayed in small font-size
<strong> strong text Strong importance; causes text to stand out from surrounding text;
usually displayed in bold
<sub> sub text Displays a subscript as small text below the baseline
<sup> sup text Displays a superscript as small text above the baseline
Proper Nesting
Code:
Browser display:
HTML Lists
• Unordered List
• Ordered List
• Description List formerly called a definition list
Unordered List
Character Code
© ©
< <
> >
& &
&
Div Element
• href Attribute
– Indicates the file name or URL
Absolute & Relative Hyperlinks
Absolute link
• Link to a different website
Relative link
• Link to pages on your own site
E-Mail Hyperlink