What will be its effect on the content of the HTML document? * code example
Example 1: html elements list
<a href="" rel="" target=""></a>
<abbr></abbr>
<div></div>
<span></span>
<html></html>
<head></head>
<body></body>
<ul></ul>
<ol></ol>
<lh></lh>
<li></li>
<table></table>
<input type="" />
<meta http-equiv="" name="" content="" charset="" />
<title></title>
<thead></thead>
<dir></dir> WARNING: Don't use the dir tag. Use the ul tag instead.
<tbody></tbody>
<tr></tr>
<th></th>
<pre></pre>
<p></p>
<nav></nav>
<main></main>
<header></header>
<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
<footer></footer>
<i></i>
<b></b>
<u></u>
<style></style>
<link type="" rel="" href="" />
<img src="" alt="" srcset="" width="" height="" />
<q></q>
<script src="" type="" defer></script>
Example 2: what is html element
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