It is valid.
However, standard practice is to use href="#"
or sometimes href="https://stackoverflow.com/questions/5637969/javascript:;"
.
More Related Contents:
- href image link download on click
- Open link in new tab or window [duplicate]
- href syntax : is it okay to have space in file name
- html links not working (using base href)
- href=”tel:” and mobile numbers
- File URL “Not allowed to load local resource” in the Internet Browser
- how to make a cell of table hyperlink
- Make anchor links refer to the current page when using
- Href without http(s) prefix
- The right way of setting when it’s a local file
- Download attribute with a file name not working?
- Disabling Chrome Autofill
- Chrome ignores autocomplete=”off”
- What is the difference between HTML div and span elements?
- SVG drop shadow using css3
- Fixed Table Cell Width
- What is the HTML tabindex attribute?
- :nth-child(even/odd) selector with class [duplicate]
- How to CSS: select element based on inner HTML [duplicate]
- How can I style individual parts of an input placeholder? [duplicate]
- How can I make the HTML5 number field display trailing zeroes?
- Equalize the height of left and right div, prevent right div from going below left div
- Auto Resize Image in CSS FlexBox Layout and keeping Aspect Ratio?
- What is the correct use of schema.org SiteNavigationElement?
- How can I create a wavy shape CSS?
- CSS Zigzag Border with a Textured Background
- Filter Extensions in HTML form upload [duplicate]
- “break-inside: avoid-column” doesn’t work in Firefox
- align images side by side in html
- CSS class starting with number is not getting applied