HTML?
HTML is used to create pages and make them functional.
HTML Tags?
Tags are used to mark up the start of an HTML element and they are usually enclosed in angle brackets. - : <h1>.
HTML Attributes?
Attributes take the form of an opening tag and additional info is placed inside.
<img src="my.jpg" alt="my photo">
the image source (src) and the alt text (alt) are attributes of the <img> tag.
HTML Headings-
HTML headings are defined with the <h1> to <h6> tags.
HTML Block and Inline Elements
Block-level Elements
A block-level element always starts on a new line.
A block-level element always takes up the full width available (stretches out to the left and right as far as it can).
A block level element has a top and a bottom margin, whereas an inline element does not.
Here are the block-level elements in HTML:
<address>
<article>
<aside>
<blockquote>
<canvas>
<dd>
<div>
<dl>
<dt>
<fieldset>
<figcaption>
<figure>
<footer>
<form>
<h1>-<h6>
<header>
<hr>
<li>
<main>
<nav>
<noscript>
<ol>
<p>
<pre>
<section>
<table>
<tfoot>
<ul>
<video>
Inline Elements
An inline element does not start on a new line.
An inline element only takes up as much width as necessary.
This is a <span> element inside a paragraph.
Here are the inline elements in HTML:
<a>
<abbr>
<acronym>
<b>
<bdo>
<big>
<br>
<button>
<cite>
<code>
<dfn>
<em>
<i>
<img>
<input>
<kbd>
<label>
<map>
<object>
<output>
<q>
<samp>
<script>
<select>
<small>
<span>
<strong>
<sub>
<sup>
<textarea>
<time>
<tt>
<var>