HTML Important Notes
HTML Important Notes
HTML Tag — the element name, surrounded by an opening (<) and closing
(>) angle bracket.
Opening Tag — the first HTML tag used to start an HTML element. The tag
type is surrounded by opening and closing angle brackets.
<body>
<p>What's up, doc?</p>
</body>
<h1> — used for main headings. All other smaller headings are used for
subheadings.
<h2>
<h3>
<h4>
<h5>
<h6>
<div id="intro">
<h1>Introduction</h1>
</div>
Displaying Text
If you want to display text in HTML, you can use a paragraph or span:
<div>
<h1>Technology</h1>
</div>
<div>
<p><span>Self-driving cars</span> are anticipated to replace up to 2 million
jobs over the next two decades.</p>
</div>