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