Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialShukur Mukhtarov
Front End Web Development Techdegree Student 660 PointsHow to ended html main body tags
How to ended html main body tags
4 Answers
Antony .
2,824 PointsThis is how your html structure is supposed to look like
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
Antony .
2,824 PointsSorry I miss interpreted your question. I'm assuming you meant how to close main tags? If so you close them with how they were initially opened but you put a forward slash symbol before you write the name of the tag
<main>
</main>
Shukur Mukhtarov
Front End Web Development Techdegree Student 660 Pointshow to centralize tags under body or main tags. for example i hear command folowed brackets. after this command html tags become more structured
Antony .
2,824 PointsAh okay, so basically once you've selected multiple lines of code you can press and hold CTRL
+ }
together to indent your code forward, and to reverse the changes press and hold CTRL
+ z
If you are on mac the same method applies, the only thing that changes is that CTRL is equivalent to CMD
KAMRAN IMRANLI
4,107 PointsKAMRAN IMRANLI
4,107 PointsShukur Mukhtarov, I think people got your point wrong, because the proper word is "indent" here.