HTML Elements are what make up HTML in general.
This is a list of the main Html element tags.
(There are more not included in this list.)
<!DOCTYPE> Defines the document type
<html> Defines the root of an HTML document </html>
<title> Defines a title for the document </title>
<header> Defines a header for a document or section </header>
<main> Specifies the main content of a document </main>
<footer> Defines a footer for a document or section </footer>
<p> Defines a paragraph </p>
<a> Defines a hyperlink </a>
<b> Defines bold text </b>
<br> Defines a single line break </br>
<button> Defines a clickable button </button>
<div> Defines a section in a document </div>
<footer> Defines a footer for a document or section </footer>
<h1> to <h6> Defines HTML headings </h1> to </h6>
<img> Defines an image </img>
<ol> Defines an ordered list </ol>
<ul> Defines an unordered list </ul>
<li> Defines a list item </li>
<script> Defines a client-side script </script>
<span> Defines a section in a document</span>
<table> Defines a table </table>
<td> Defines a cell in a table</td>
<th> Defines a header cell in a table </th>
<tr> Defines a row in a table </tr>
<code> is basically a <span> that automatically makes your text monospace.
This is usually used to show pieces of code inline with text.
You're welcome.
The HTML element is everything from the start tag to the end tag:
<tagname>Content goes here...</tagname>
Examples of some HTML elements:
<h1>My First Heading</h1>
<p>My first paragraph.</p>
The HTML <code> element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent's default monospace font
Html is a markup kanguage based on XML. It uses nested <objects>
These objects are defined by the standards body W3C
they are usually used in pairs ... <thing> </thing>
A .html file has a bunch of these tags
information to be displayed goes between the start and end tags
<p> This text is now a paragraph</p>
Elements can have unique identifiers used by javascript and CSS
<p id="fruit"> Apple Orange Banana </p>
Elements can be styled by belonging to a class of Elements
<p class="redThings"> This text will be colored red if "redThings" says so
Andomi Ansari
HTML Elements are what make up HTML in general.
This is a list of the main Html element tags.
(There are more not included in this list.)
<!DOCTYPE> Defines the document type
<html> Defines the root of an HTML document </html>
<title> Defines a title for the document </title>
<header> Defines a header for a document or section </header>
<main> Specifies the main content of a document </main>
<footer> Defines a footer for a document or section </footer>
<p> Defines a paragraph </p>
<a> Defines a hyperlink </a>
<b> Defines bold text </b>
<br> Defines a single line break </br>
<button> Defines a clickable button </button>
<div> Defines a section in a document </div>
<footer> Defines a footer for a document or section </footer>
<h1> to <h6> Defines HTML headings </h1> to </h6>
<img> Defines an image </img>
<ol> Defines an ordered list </ol>
<ul> Defines an unordered list </ul>
<li> Defines a list item </li>
<script> Defines a client-side script </script>
<span> Defines a section in a document</span>
<table> Defines a table </table>
<td> Defines a cell in a table</td>
<th> Defines a header cell in a table </th>
<tr> Defines a row in a table </tr>
HTML Elements are what make up HTML in general
<p> is an element