nav element – HTML
Summary Details The nav element is used to wrap around navigation links, like in the example above. A common use for the nav element is… nav element – HTML
Summary Details The nav element is used to wrap around navigation links, like in the example above. A common use for the nav element is… nav element – HTML
To add an image to a web page using HTML, use the img
element:
<img src="my-picture.jpg" alt="Dog running on grass">
Image element – HTMLTo create an unordered list in HTML, use the ul
and li
elements.
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
Unordered lists – HTMLTo create an ordered list in HTML, use the ol
and li
elements.
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
Ordered lists – HTMLLearn how to create headings in HTML.
To edit the title of your HTML page, use the <title>
element.
Summary Here’s a list of some common mistakes you might make while writing HTML code. A missing opening or closing tag Missing angle brackets on… Common syntax problems – HTML