This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course

253 points
Picture
Submitted by
Burd Boonyoo
about 2 years ago

8/14 H elements in html

When building the elements and content within body, does order of the elements through within the body matter? I don't quite understand by looking at other examples that it is , , and first, then , , .

Thanks for the help in advance.


-1 votes

permalink

check here how to format your code. It seems you tried to insert tiny pieces of code in your answer, but they are not visible.

by this: When building the elements and content within body, does order of the elements through within the body matter, you mean if it matters if you have a paragraph or a header first:

<body>
<h1>header</h1>
<p>paragraph</p>
</body>

or:

<body>
<p>paragraph</p>
<h1>header</h1>
</body>

you are designing the page, the order doesn't matter. Of course, it generally makes more sense to have the header first, but you can choice to have the paragraph first

2949 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 2 years ago