HTML Tags & Attributes Flashcards
First line of a webpage.
First line of a webpage.
Second line of a webpage.
First true section, although most of what you enter here won’t be seen. Carries fonts, links to stylesheets, etc..
The name for your site
All the stuff for your site goes here.
Headlines
<a></a>
Hyperlink (shows text: “Go to Google”)
<a></a>
Hyperlink (shows text: “Go to Google”)
<div></div>
Div tags “Dividers” separate sections and allow you to put in id’s or classes.
<div></div>
<div></div>
Div tags “Dividers” separate sections and allow you to put in id’s or classes.
<div></div>
Second line of a webpage.
First true section, although most of what you enter here won’t be seen. Carries fonts, links to stylesheets, etc..
The name for your site
What is a void element?
A tag that doesn’t require a second tag to close it. Such as: <br></br> (there is no ).
Other examples are:
<img></img>
Headlines
<p></p>
Paragraph text
<a></a>
Hyperlink (shows text: “Go to Google”)
<br></br>
line break
<div></div>
Div tags “Dividers” separate sections and allow you to put in id’s or classes.
<div></div>
Order of tags in a basic website => GO!
List em.
Placed above title. Says the character encoding is Unicode 8 which is used by all websites. It’s like a dictionary for translation. It is then followed by:
Important for responsive devices.
target
When you create an <a> link and use an href, including a target=”_blank”> will open a new page.</a>
example:
</a><a> This will take you to yahoo.com if you click here. </a>
(there is no ).