html Flashcards
What is the tag <h1> known as?</h1>
An opening tag
What is the tag known as?
a closing tag
How many header elements (hn) are there?
six
What is the purpose of the <p> tag?</p>
To contain one or more sentences
What does the anchor element (<a>) do?</a>
Creates a hyper link defined by the attribute href that equals the value string url
for the image src attirubute in the img tag, what should the value be?
A url string like the anchor tag
What is special about the img tag?
It is self closing. which means it doesn’t need a closing tag
Is the video tag self closing?
No it requires a closing tag
How is the source of the video defined?
A separate source tag with a src attribute like the image tag
What attribute is used in the video tag to make the video have play/pause ability
the control attribute
How is the type of video defined?
As the type attribute in the video tag. For example, type=”video/mp4”
What is the <ul> tag?</ul>
unordered list that can contain list tags
When a tag is inside the opening & closing tags of another element what is this called?
nested elements, where on is the child and one is the parent
What can metadata be thought of in an html file?
The brains
What does the metadata, do?
Tells the browser that we are expecting an html file
What is the purpose of the tags?
It acts as the parent of all tags in the file
What does html stand for?
hypertext markup language
What does css stand for?
Cascading style sheet
What is it called when the css comes external from the file?
unlinked
What tag in an html links other files?
link tag
What attributes can be included in a tag.
rel, or relation such as stylesheet. type such as text/css. href, which specifies the file/path
Where should the link tag be put?
In the header
What is a css file made of?
Sectors and properties help in curly brackets which make up the “rule”
What does the font family attribute do?
font-family: Palatino, ‘Palatino Linotype’, serif, gives thee selected text in that tag palatino font