HTML Flashcards
Give five examples of HTML element types.
h1, img, a, ul, p
What is the purpose of HTML attributes?
HTML attributes provide additional information to the given element it is
Give an example of an HTML entity (escape character).
Copyright Symbol = ©
Pound sign = £
Ampersand = &
How do block-level elements affect the document flow?
Will appear to start on a new line
How do inline elements affect the document flow?
Will appear to start immediately after the previous element on same line
What are the default width and height of a block-level element?
100% width and auto height
What are the default width and height of an inline element?
auto for both
What is the difference between an ordered list and an unordered list in HTML?
Ordered lists are numbered, unordered lists are bullet pointed
Is an HTML list a block element or an inline element?
Block element
How do you indicate the relative link to a parent directory?
../
How do you indicate the relative link to a child directory?
State directory then forward slash
How do you indicate the relative link to a grand parent directory?
../ to go up one and then ../ to go up again to grand parent
How do you indicate the relative link to the same directory?
Simply state directory
- What is the purpose of an HTMLformelement?
to get user input and send to server
- Give five examples of form control elements.
input textarea select button label fieldset legend