D276 Tags and Terms Flashcards
<p>
</p>
Paragraph, must have closing tag
<br></br>
Creates a line break
<section>
</section>
Collection of related content, must have closing tag
<h1>
</h1>
Heading bold and separates text
<cite></cite>
Denotes a title and italicized by default
<mark></mark>
Highlights enclosed text
<strong></strong>
Important text, bold by default
<b></b>
Text needs attention, bold by default
<i></i>
Text in an alternate voice; italicized by default
<u></u>
Underlines text
<em></em>
Emphasized text; italics
<var></var>
Definition of computer variable
<kbd></kbd>
Keyboard input
<samp></samp>
Sample text
<code></code>
Computer code
<–!–>
Comment on code; doesn’t appear
<ul>
</ul>
Unorganized list
<li>
</li>
list item
<ol>
</ol>
Organized list default 1,2,3…
<table>
</table>
Creates a table
<tr>
</tr>
Creates a table row
<th>
</th>
Creates a table header; default bold
<td>
</td>
Creates table data
<img></img>
Creates an image tag
src
place for putting the link to an image
alt
What to display in the event of a broken image
JPEG
For digital photos
PNG
line art, screenshots or images that must be transparent
GIF
Animated images
<a></a>
Anchor tag defines a hyperlink
../
One directory above the current hyperlink page
<span></span>
Generic element to manage parts of the page
<form>
</form>
Allows the user to submit info to server
XML
Markup language for transferring and displaying data
Is case sensitive
XML
Requires definition of terms
XML
Allows errors
HTML
Has unlimited tags
XML
Element selector
Tag by itself “p”
Class selector
Period in front “.notice”
Id selector
Hashtag in front “#byline”
Psuedo-class selector
Colon in front “:hover”
Descendant
Places one tag after another “p span”
Universal selector
Asterisk (*)
Multiple selector
Seperated by comma (ol, ul)
Child selector
Greater than (ol>ul)
Sibling selector
Tilde(~)
<div>
</div>
Defines a section of the document