HTML Flashcards
What is the purpose of HTML attributes?
specified in the start tag, they provide additional information about elements.
What are examples of HTML entities?/ escape characters?
© & copy ; ® & reg ;
- How do block-level elements affect the document flow vs inline elements?
Block elements start as new lines and take up the whole width while inline only take as much space as the content.
What is the default height of the block element and inline?
The default height is the height of the content.
What is the difference between UL and OL?
unordered lists are bullet points, while ordered lists are numbered.
is an HTML list a block or inline element?
Block Element.
What are the differences between relative and absolute URLs?
Relative will navigate within file system, absolute is a URL to a domain.
HTML tag to link another page?
the a tag.
What is the relative link to a parent directory?
../filename
What is the relative link to a child directory?
parentdirectory/filename
“music/listings.html
What is the relative link to a grand parent directory?
../../filename
What is the relative link to the same directory?
“index.html”
What is the purpose of an HTMLformelement?
Collect information from visitors on your website
Give five examples of form control elements.
textarea, input, button, fieldset, option
Give three examples oftypeattribute values for HTMLinputelements.
submit, password, radio, text
Is an HTMLinput element a block element or an inline element?
inline block
Name the six primary HTML elements for creating tables
table, tr, td, th, thead, tbody, tfoot
What is the purpose of thead and tbody elements?
thead serves as the head for the table, tbody serves as the body.