This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!
Not seeing your question? It may still have been asked before – try searching for it by clicking the spyglass icon () in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post ().
Note that the endtag needs to match the opentag. BODY is unique; that is there can be only one body element, the container of all the content we will see on the webpage. P is a paragraph element which may occur multiple times in the BODY or any other container element.
<html>
<head>
<!-- metadata in here -->
</head>
<body>
<!-- All content in here -->
</body>
</html>
… that are recognized by browsers so that default styles exist.
HTML is a living language. The meaning of that can be elusive. It actually does mean that anything can be written between the carats and be a valid tag. It goes right back to XML where we’re not marking up content, but data. If we determine that a <species> element is useful for describing data there is nothing stopping us in HTML specs. We can simply create that element. We might have to tell the DOM that, but that is another story. You are not that far off in your thinking.
Bottom line, elements that are already written into the specs are the ones to use. Some have both OPENTAG and ENDTAG, and others have only VOIDTAG that have no content, such as IMG or INPUT. While we are free to create new tags, it is not something we need to engage in at this point.
I contacted support. They say it’s a known bug. I don’t understand how this application will have a known bug on the basic HTML step 2 course and not fix it.
The paragraph element (<p>) is a block element that also has top and bottom margins (you’ll learn about these later in the course and in the CSS course). Also, it’s easier to select and modify content or text contained in a <p> element using CSS code, especially for more complex webpages.