Hello, amazing people. This article will cover few of the common mistakes that we often do while writing HTML. Let's get straight to it. 1. Use of Anchor Elements: <a> Anchor elements are used to create a hyperlink to a file or a location of a webpag...
iamshadmirza.hashnode.dev3 min read
What's wrong with multiple H1 elements?
Using <div> tag to write add a piece of text to your webpage, is a valid case when to use <div>?
Good tips for br in p
I would like to add one suggestion on a, try to avoid using target=_blank as it breaks the flow of browsing way more than use of #
In general, like you said, if you need to use only # fro href, try to use button but it is useful as jump to top of page can just be achieved by using # as href
Buttons need more style resets than links and probably that's why I would go for using a[href="#"] as having click handlers on text nodes is less recommended
Wow nice, and so easy to overlook, even I have made there <br> mistakes before.
Thanks for sharing Shad!
Astro TemplePooja
i read complete html anchor tag .