HTML Tags Flashcards
To learn HTML tags
A heading - most important info
Gets increasingly less important
<h1> </h1>
<h2> </h2>
….. <h6> </h6>
Paragraph, sentence/ more - block of text
<p> </p>
Short text, less than a sentence
<span> </span>
Preserves white space - should NOT be used - this should be up to css
<pre> </pre>
Stress emphasis, italicized
Good for assisted devices for blind people/ more
<em> </em>
BOLD
Strong importance
Helps with assistrd devices for the blind/ other
<strong> </strong>
Ordered list
<ol>
<li> Item 1 </li>
<li> Item 2 </li>
</ol>
Unordered list
<ul> </ul>
Kimd of a catch-all for context division - there are better tags
Better Tags:
<div> </div>
Better tag than_____
Defines a section - can have other tags within
h1, p ….
<div>
| </div>
Specefies independent self-contained content
Should make sense on its own + possible to distribute independently from rest of the site
Indirectly relates to the rest of the content on the site
Constant at beginning/ top
Constant at beginning/ top
Constant at ending / bottom