Answers
Save
Terms in this set (77)
1. Headers (<h1> to <h6>)
2. Paragraph (<p>)
What are the 6 most 3. Links (<a href=" ">)
common tags? 4. Divisions (<div>)
5. Images (<img src=" " alt=" ">)
6. Span (<span>)
What are header tags -Hierarchy
used for? -Helps skim readers
What goes within <p> Body copy
Links to another page or another part of the current
What do links do?
page
-Wraps around other elements
What does <div> do?
-Most popular HTML tag
What is the most popular <div>
HTML tag?
-It tells what the image is about
What does alt do?
-Image tag must include this!
-Wraps text inside elements
What does span do?
-Can go inside other tags
Where does <div> go? <div> goes AROUND ELEMENTS
, Where does <span> go? <span> always goes INSIDE ELEMENTS
True or false? <span> False; <span> shouldn't wrap
shouldn't nest
True or false? <div> True
shouldn't nest
<___ > shouldn't wrap and 1. Span shouldn't wrap
_<_ > shouldn't nest 2. Div shouldn't nest
Is this the correct use of Yes! <div> wraps and <span> nests
<div> and <span>?
<div>
<p>
<span>Text Here</span>
</p>
</div>
What does href do? Signifies where a link should go
What does <img src=" "> Tells an image tag how to find a file
do?
-<div class=" ">
-Most important attribute
Characteristics of class
-Can be used multiple times
-Used to apply specific styles
-<div id=" ">
-Can be used to target individual elements
Characteristics of ID
-Can only be used once per page
-Used for buttons ( jump to bottom/top)
True or false? · Any HTML True
element can have multiple
classes, but ONLY ONE
ATTRIBUTE