Chapter 5 - Marking Up Text Flashcards
semantically
in a way that most accurately describes the content’s meaning
<p>...</p>
paragraph element
block
displayed on new lines with a bit of space between them by default
phrasing content
text, images, and other inline elements
naked text (anonymous text)
text that is not contained within tags
<h1>...</h1>
<h2>...</h2>
<h3>...</h3>
<h4>...</h4>
<h5>...</h5>
<h6>...</h6>
heading elements (limit of six)
heading
browser uses headings to create a document outline for the page
paragraph
may contain text, inline elements, images, but may not contain headings, lists, sectioning elements, or any elements that display as blocks by default
document outline
an outline of your HTML document, used for accessibility features and structure
<hr></hr>
a horizontal rule
unordered list
collection of items that appear in no particular order
ordered list
list in which the sequence of the items is important
description list
list that consists of name and value pairs, including but not limited to term and definitions
<ul>...</ul>
unordered list
<li>...</li>
list item within an list
<ol>...</ol>
ordered list
<dl>...</dl>
description list
<dt>...</dt>
a name, such as a term or label
<dd>...</dd>
a value, such as a description or definition
<blockquote>...</blockquote>
a lengthy, block-level quotation
<pre>...</pre>
preformatted text that displays exactly as typed, including all carriage returns and multiple character spaces
<figure>...</figure>
related image or resource
<figcaption>...</figcaption>
text description of a figure
<main>...</main>
primary content area of a page or app
...
...
People who know me know that I love to cook.
I've created this site to share some of my favorite recipes.
People who know me know that I love to cook.
I've created this site to share some of my favorite recipes.