HTML Archives - 7-Views
JavaScript Void(0) in HTML document
You can use withinhref=”JavaScript:Void(0);” <a> the element in HTML Document. We can commonly use this within hyperlinks. Here are the benefits of using this is, to eliminate the unwanted side-effect, because it will return the undefined primative value. To prevent the page from refreshing, you could use JavaScript:void(0)
Desktop or Responsive view on a device
![](https://7-views.com/wp-content/uploads/2018/08/kisspng-web-development-html-css3-the-ohana-code-logo-2cpaper-projection-shaded_1660937-html-dropdown-js-5aebd5634bb501.0344507315254050273101-e1535005847318.png)
You Just need to set the Viewport in your HTML page. if you want a Desktop View on any device. <meta name=”viewport” content=”width=1024″> If you want a Responsive View on mobile : <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>