HTML TAGS Flashcards
What is a ?
Heading tag
What is a <p>?</p>
Paragraph tag
What is ?
A declaration tag (tells the browser that the following is in HTML)
What is the use of the tag?
Contains instructions for the browser. It can point to resources, like custom fonts or scripts, but doesn’t actually contain content that the user will see on the page.
What is the use of the tag?
Where all the content goes.
What does the <img></img> tag do?
It prints am image to the webpages
What is one of the unique things about the <img></img> tag?
They are self contained tags and don’t need a closing tag.
What is an anchor tag (<a>)?</a>
It defines a hyperlink
What attribute does a <a> tag have?</a>
They have an “href” (hyperlink reference)
Example of an <a> tag.</a>
<a>Click here to visit Baby’s First Website!</a>
What are some of the things that anchor tags can link to?
Documents, files, email links, and more
What are the two types of list tags?
Unordered list (<ul>) and ordered lists (</ul><ol>)</ol>
What is the difference between the two list tags?
Unordered lists are bullet points and ordered lists are numbered lists.
How do we differentiate between each item on the list?
With the <li> tag (list item)</li>
What is an example of a list in HTML?
<ul> <li>Item one</li> <li>Item two</li> <li>Item three</li> </ul>