Find answers, ask questions, and connect with our
community around the world.

Home Forums Web Design Are there naming conventions for custom HTML components?

  • Are there naming conventions for custom HTML components?

    updated 3 months ago 0 Member · 1 Post
  • Maverick

    Member
    September 13, 2019 at 7:47 am

    Angular let’s you give custom names for HTML elements. I can name my component keklolkek if I want to. I wanted something more consistent so I looked at websites dispalyed in made with angular but they are all just a bunch of div’s. Even the angular doc style guides don’t bother telling you how to name your components. Why would you make your website a bundle of div’s when you can give the tags custom names? Why do most sites header’s read as one nav containing dozens of div’s instead of a nav containing search-box, user-box, hamburger-menu etc. Isn’t that more readable? – by hq overview BigBootyBear – –

Reply to: Maverick
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now