HTML Document Standards Flashcards
What do you put at the beginning of every HTML5 code
< !DOCTYPE html >
< html > tag
Adds HTML structure and context
What gets interpreted as HTML code?
Anything between < html > and < /html >
Metadata
Information about the page that is not displaced directly on the page
< head > tag
Tells the page what the heading is
< title > tag
always the child of the title tag, you put the title inside it
Where will the title appear?
On the thing that is at the top of websites
< a > tag
anchor element, adds links to a webpage
What does the anchor element need?
the href attribute
What does href stand for?
Hyperlink Reference
How would you link wikipedia?
< a href=”wikipedia-link”>wikipedia< /a >
Target element
Tells how a link should be opened
Where do you add the target attribute
In the opening anchor tag, just like the href attribute
_blank
Goes in the target attribute, will open the link in a new tab
Where are files stored?
The root directory (main folder)