HTML Element
Now let's look at the basic HTML elements. The most fundamental element is the html
element. This element must be present in every HTML document. It is placed immediately after the document type declaration <!DOCTYPE html>
, and all other HTML elements must be nested within it. So, the basic structure of our HTML document looks like this:
<!DOCTYPE html>
<html>
</html>
In the following exercises, we will look at other elements that expand our existing structure.
Instructions
Create the html
element below the document declaration.
Start programming for free
6/9