HTML Flashcards
Tags, attributes, elements
Describe HTML tags and elements.
Give an example of them.
Tags=”Bookends” that label information between opening and closing tags
Elements=”Books” and the “bookends”, or the tag and the content in between
<p>Paragraph</p>
What’s an attribute?
Attributes provide information about the content of an element.
<p>Paragraph in Paraguayan Spanish</p>
What is
Defines the document type.
Defines an HTML document.
Defines information about the document
Defines a title for the document
Defines the document’s body
<h1> to <h6>
| </h6></h1>
Defines HTML headings
<p>
| </p>
Defines a paragraph
<br></br>
Inserts a single line break
<hr></hr>
Defines a thematic change in the content
Defines a comment
Describe white space collapsing and how web developers play a role in it.
When a browser encounters two or more spaces together, it will only display one of them.
AND
When a browser comes across a line break, it will also treat that as one space.
Web developers often add extra spaces in their work to make to code easier to read.
<img></img>
Defines an image
Defines a client-side image-map
Defines an area inside an image-map
Used to draw graphics, on the fly, via scripting (usually JavaScript)
Defines a caption for a element
Specifies self-contained content
Defines a container for multiple image resources
Defines a container for SVG graphics
Defines an HTML form for user input
Defines an input control
Defines a multiline input control (text area)
Defines a clickable button
Defines a drop-down list
Defines a group of related options in a drop-down list
Defines an option in a drop-down list
Defines a labelfor an element
Groups related elements in a form
Defines a caption for a element
Specifies a list of pre-defined options for input controls
Defines the result of a calculation