PricingDocsAcademy
Bluesky ...
Fri, Dec 13, 9:33 AM

Question about best practices using tags inside components

  • Ben H

    2 months ago

    When working inside components, should I use tags like "Main" or "Header" to indicate the main part of a component or the header of a component, even if the component itself may be used outside of a page's main or header sections? In other words, should I reserve "Main" and "Header" tags for the root page, or is it best practice to use these tags within components as well to denote hierarchy within components?
  • Max

    2 months ago

    You should look at the page as a whole. If you have 3 components on one site that all have a header, this will make your html messy.
    ❤️1
  • Ben H

    2 months ago

    Got it, thx

Stop scrolling. Start building.

toddle is a visual web app builder that rivals custom code — but accessible to your entire team!

Try toddle — it's free!

© Copyright 2024 toddle. All rights reserved.