html Flashcards
Where do you put non-visible content about the HTML document?
the head
Where do you put visible content about the HTML document?
the body
Where do the body and head tags go in a valid HTML document?
inside the html tags
What is the purpose of a declaration?
lets the browser know its html. his ensures that the web page is parsed the same way by different web browsers.
Give five examples of HTML element tags.
img body head li ul
What is the purpose of HTML attributes?
modifies the html element, or adds further instructions to it
Give an example of an HTML entity (escape character).
©
How do block-level elements affect the document flow?
they stack on top of each other
How do inline elements affect the document flow?
they lay next to each other
What are the default width and height of a block-level element?
100% of the parent element
What are the default width and height of an inline element?
any width and any height
What is the difference between an ordered list and an unordered list in HTML?
ordered list has numbers in order, unordered list does not
Is an HTML list a block element or an inline element?
block
What HTML tag is used to link to another website?
anchor tag
What is an absolute URL?
a url adress that is outside your computer anything with https
What is a relative URL?
an adress to a document that is inside of your computer
How do you indicate the relative link to a parent directory?
../
How do you indicate the relative link to a child directory?
/
How do you indicate the relative link to a grand parent directory?
../../
How do you indicate the relative link to the same directory?
just use the file name nothing else is needed or .
What is the purpose of an HTML form element?
to collect information from user
Give five examples of form control elements.
input, label, select, text area, type button
Give three examples of type attributes for HTML elements.
radio, submit checkbox
Is an HTML element a block element or an inline element?
it can be either or
What are the six primary HTML elements for creating tables?
thead , td, tbody , th,tr table
What purpose do the thead and tbody elements serve?
thead is mainly for the more important stuff, the body will be whats contained under the head
Give two examples of data that would lend itself well to being displayed in a table.
numbers, stats