Lesson 2 Flashcards
href
Hypertext reference
<a></a>
Anchor tag
<p>
</p>
Paragraph tag
Heading Elements (tags)
<h1> Most important heading tag
<h2>
<h3>
<h4>
<h5>
<h6>
</h6></h5></h4></h3></h2></h1>
Other Text Elements
<p> Paragraph
<span> Short text
<pre> Preserves whitespace
</pre></span></p>
Assisted Device Elements
<em> Stress emphasis (italics)
<strong> Strong importance (bold)</strong></em>
These tags come in handy, not for style reasons (which should be handled with CSS), but for accessibility reasons (e.g. users with visual impairments)
Ordered List
<ol>
<li> Item 1 </li>
<li> Item 2 </li>
</ol>
Unordered List
<ul>
<li> Item 1 </li>
<li> Item 2 </li>
</ul>
Containing Elements
<div>
<section> Helps to group like content
<article> Helps contain things meant to be shared
<aside> Ancillary or extra content (e.g. ads)
<header> Groups content at the beginning of a document
<footer> Groups content at the end of a document
</footer></header></aside></article></section></div>
Deprecated Elements
(Not used very much anymore)
<blink>
<marquee>
<b> bold text
<i> italic text
</i></b></marquee></blink>