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
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″>