Flashcards in Html Deck (42):
Event that fires when a document is closed?
Event that fires when an element changes?
Event that fires when a form is reset
Event that fires when an element is selected
Event that fires when a form is submitted
Event that fires when loading of an image is interrupted
Event that fires when a key is pressed
Event that fires when a key is pressed and released
Event that fires when a key is released
Event that fires on a mouse double-click
Event that fires when mouse button is pressed
Event that fires when mouse pointer moves
Event that fires when mouse pointer moves out of an element
Event that fires when mouse button is released
The <title>, <meta>, and <style> elements are used where?
Inside the <head> element.
What are attributes for <script>?
What are attributes of <img> ?
"<img src=""smiley.gif"" alt=""Smiley face"" height=""42"" width=""42"" />
The value of alt is displayed if file_name cannot be displayed."
What are the only type of elements to go directly inside of the <body> element?
Block, not inline, elements.
What are the top three elements on an HTML page?
What element always needs to be inside the <head> element?
What HTML tag is used for comments?
<! ... >
What is a HTML block element?
Block elements are always displayed as if they have a linebreak before and after the element.
What is a HTML inline element?
Inline elements appear within the flow of the text on the page.
"The tag defines the contact information for the author or owner of a document. This way, the reader is able to contact the document's owner.
The element is usually added to the header or footer of a webpage."
Used for multiline quotations. Creates a separate block and indents the text.
The HTML code tag is used for indicating a piece of code. The code tag surrounds the code being marked up.
Used to group block-elements , usually to format them with a style.
"HTML tag for a definition list.
Each item in the list will have a term <dt> and a description <dd>."
<em> ... </em>
"The <hr> tag creates a horizontal line in an HTML page.
The <hr> element can be used to separate content in an HTML page."
"A HTML element used to link a CSS stylesheet with a document.
Has the following attributes:
"The <pre> tag defines preformatted text.
Text in a <pre> element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks."
"<q> ... </q>
This inline tag adds double quotes to text. Indicates text is a quotation."
Renders as strong (highlighted) text.
Browser Object Model
Cascading Style Sheets
Definition of an HTML element?
opening tag + content + closing tag
Document Object Model
How is a linebreak generated in HTML?
How is a link created in HTML?
<a href="file_name"> link_name</a>