DEV Community


Discussion on: Clean your code from HTML tags with Styled Components magic

yvonnickfrin profile image
🦁 Yvonnick FRIN

Nice article! Just an advice to avoid looking for a specific div. There are a lot of tags in html that have meaning like main, header, nav, footer, ... It helps organizing your markup and makes the information more accessible for screen reader I guess 👍

niconiahi profile image
Nicolas Accetta Author

totally man. I just used div as it's the most common one and anyone who's new to programming can relate. Thanks for the advice