HTML Paragraphs
HTML paragraphs are defined with the <p> tag:
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>Try it Yourself »
HTML links are defined with the <a> tag:
<ahref="https://www.w3schools.com">This is a link</a>Try it Yourself »The link's destination is specified in the hrefattribute. Attributes are used to provide additional information about HTML elements.You will learn more about attributes in a later chapter.
HTML images are defined with the <img> tag.The source file (src), alternative text (alt),width, and height are provided as attributes:
<img src="w3schools.jpg"alt="W3Schools.com"width="104" height="142">Try it Yourself »
HTML buttons are defined with the <button>tag:
<button>Click me</button>Try it Yourself »
HTML lists are defined with the <ul>(unordered/bullet list) or the <ol>(ordered/numbered list) tag, followed by <li>tags (list items):
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>