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 trialJake Almendarez
Front End Web Development Techdegree Student 4,250 Pointssections outside main?
is it possible to use section outside of the main tag or is it better practice to use aside? like if its info on how to contact me. would that be considered a section or aside?
1 Answer
Gerald Susanteo
Front End Web Development Techdegree Student 7,117 PointsHey Jake! The HTML section element, defined by section tags, defines a section of a document, web page, or an application. While <aside> should be used to show that it is indirectly related to the surrounding content. I'm also new but would like to help others but in my opinion, using a <aside> for contacting me is more suited than using <section> since it's not directly related to your topic. (if you're writing an article about fish or something else besides yourself) But I recommend using <div> tags. If you don't know what they are you will soon learn them! If you still don't understand my explanation check these websites for help. Just remember <sections> organizes your webpage to see different parts of a document while <aside> tells you that the topic isn't fully related to what you're talking about in your webpage