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
over 1 year 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

2410 points
5671826195e378c47d000782_659060817
Submitted by
stetim94
over 1 year ago