A margin before and after the statement is automatically add by the browser
Strtching out to the left and right always taking up the full width available.
Most commonly used are <p> and <div>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Address</title>
</head>
<body>
<h1>The address element</h1>
<address>
Written by <a href="christisalive.net">Rick Brown web master</a>.
Contact me at: rick@christisalive.net Greenfield, Iowa USA
</address>
</body>
</html>
Results
Written by Rick Brown web master.
Contact me at: rick@christisalive.net Greenfield, Iowa USA
Article
Independent content is specified by the article tag.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Article</title>
</head>
<body>
<h1>The article element</h1>
<article>
<h2>My Statement of Faith</h2>
<p>My statement of faith</p>
</article>
<article>
<h2>How the Apostles Died</h2>
<p>How each one of the apostles died. </p>
</article>
<article>
<h2>Parables of Jesus</h2>
<p>List of the Parables of Jesus from the bible. </p>
</article>
</body>
</html>
Results
My Statement of Faith
My statement of faith
How the Apostles Died
How each one of the apostles died.
Parables of Jesus
List of the Parables of Jesus from the bible.
Aside
Tag used to add a piece of content that is related to the main content. It could be a box to add a quote, or a sidebar.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Article Element</title>
<body>
<p> My family and I went to
Fort Knox Museum.
<aside>
<p> Fort Knox Museum is located outside of Fort Knox, Ky The Museum is located just inside one of Fort Knox’s gates. The museum is made up of military history.</p>
</aside>
</body>
</html>
Result
My family and I went to
Fort Knox Museum.
Blockquote
A section that is quoted from another source is inside the blockquote tabs
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<body>
<h2>John F. Kennedy's Inaugural Address, January 20, 1961 </h2
<blockquote>
And so, my fellow Americans: ask not what your coundtry can do for you -ask what you can do for your country
</blockquote>
</body>
</html>
Results
John F. Kennedy's Inaugural Address, January 20, 1961
And so, my fellow Americans: ask not what your country can do for you - ask what you can do for your country
canvas
The HTML <canvas> element is used to draw graphics, on the fly, via JavaScript.
The <canvas> element is only a container for graphics.
You must use JavaScript to actually draw the graphics.
Canvas has several methods for drawing paths, boxes, circles, text, and adding images.
Canvas is supported by all major browsers.
<!DOCTYPE html>
<html>
<body>
<canvas id="myCanvas" width="200" height="100" style="border:1px solid #d3d3d3;">
</canvas>
<script>
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.moveTo(0,0);
ctx.lineTo(200,100);
ctx.stroke();
</script>
</body>
</html>
Results
dd
Describes a term/name in a description list and is used in conjunction with <dl> which defines a description list, and <dt> which in turns defines terms/names.
You can add paragraphs, line breaks, images, lists, links and the list continues with inside a <dd> tag.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>dl, dd, dt tags</title>
</head>
<body>
<h2> <dd> <dl> and <dt> are used together so the example will use them together</h2> <h2>The elements of dl, dd, and dt </h2> <p>These three elements are used to create a description list:</p>
<dl>
<dt>New Room</dt>
<dd>Call Builder for cost</dd>
<dt>Old Room</dt>
<dd>Call Contractors to remove it</dd>
</dl>
</body>
</html
Results
<dl> <dd> and <dt>
are used together so the example will use them together
The elements of dl, dd, and dt
These three elements are used to create a description list:
New Room
Call Builder for cost
Old Room
Call Contractors to remove it
div
dl
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>dl, dd, dt tags</title>
</head>
<body>
<h2> <dd> <dl> and <dt> are used together so the example will use them together</h2> <h2>The elements of dl, dd, and dt </h2> <p>These three elements are used to create a description list:</p>
<dl>
<dt>New Room</dt>
<dd>Call Builder for cost</dd>
<dt>Old Room</dt>
<dd>Call Contractors to remove it</dd>
</dl>
</body>
</html
Results
<dl> <dd> and <dt>
are used together so the example will use them together
The elements of dl, dd, and dt
These three elements are used to create a description list:
New Room
Call Builder for cost
Old Room
Call Contractors to remove it
dt
Defines terms/names
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>dl, dd, dt tags</title>
</head>
<body>
<h2> <dd> <dl> and <dt> are used together so the example will use them together</h2> <h2>The elements of dl, dd, and dt </h2> <p>These three elements are used to create a description list:</p>
<dl>
<dt>New Room</dt>
<dd>Call Builder for cost</dd>
<dt>Old Room</dt>
<dd>Call Contractors to remove it</dd>
</dl>
</body>
</html
Results
<dl> <dd> and <dt>
are used together so the example will use them together
The elements of dl, dd, and dt
These three elements are used to create a description list:
New Room
Call Builder for cost
Old Room
Call Contractors to remove it
fieldset
figcaption
figure
Footer
Defines a portion of the document where you can have several;
It typically contains:
Related Documents to that page
Back to top Links
Sitemaps
Contact Iformation
Authorship Information
<footer> Defines a document or section and you can have several in one document. It typically contains: (1) Related Documents (2) Back to Top Links (3) Sitemap (4) Contact Information (5) Copyright Information (6) Authorship Information.
Table thead, tbody, and tfoot elements - Styled with CSS
State
School
County
Iowa
Woverlines
Adair
Iowa
Mustangs
Des Moines
Main
<Main> tag a structural element that is representing the main content of a document
Encapsulating the primary content it is like the central hub of the web page.
By wrapping your main content within this tag you are signaling to the developers and browsers that is is the core information that is being sought by the users.
Specifies the main content of a document, unique to the document.
Shouldn’t contain any content that is repeated across documents such as navigation links, copyright information, sidebars, site logos, and search forms.
Have only one main element in a document and must not be a descendant of an <nav>, <header>, <article> and or a <hander>.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Main Element </title>
<body>
<h1>The main element</h1>
<main>
<section>
<h3 style="color: blue;">
1969 Fastback Mustang </h3>
<p> Manual for Car </p>
<section>
<h3>Manual for engine</h3>
<p>Manual for Drive shaft</p>
</section>
</section>
<section>
<h3>Electric Components</h3>
<p>Interior components</p>
<section>
<h3>Transmission</h3>
<p>Front End </p>
</section>
</section>
</main>
</body>
</html>