You can add the onclick for JavaScript into the div.
<div onclick="location.href='newurl.html';"> </div>
EDIT: for new window
<div onclick="window.open('newurl.html','mywindow');" style="cursor: pointer;"> </div>
Related Posts:
- Uses for the ‘"’ entity in HTML
- How do I create tab indenting in html
- How do I create tab indenting in html
- Redirect from an HTML page
- Redirect from an HTML page
- Open link in new tab or window [duplicate]
- How to create an HTML button that acts like a link
- How to create an HTML button that acts like a link
- How to create an HTML button that acts like a link
- How do I make a hyperlink to a local executable?
- What is href=”#” and why is it used?
- Open URL in same window and in same tab
- html not linking css
- Removing border from table cells
- How to submit a form with JavaScript by clicking a link?
- Navigate to an anchor on another page
- HTML list-style-type dash
- How to close current tab in a browser window?
- link with target=”_blank” does not open in new tab in Chrome
- RegEx match open tags except XHTML self-contained tags
- My CSS won’t link to my HTML file
- How to make an HTML back link?
- Can an HTML element have multiple ids?
- HTML Links are not working
- HTML tag is not working
- When is a CDATA section necessary within a script tag?
- Is there a way to bookmark or link to a section of a page without an anchor?
- html : iframe not showing content in html
- What does In html mean
- Prevent line-break of span element
- Where to specifiy the language of Document in HTML 5 when my page has two languages?
- What is the meaning of == $0 that is shown in inspect element of google chrome for the selected element [duplicate]
- Responsive image map
- Create table with jQuery – append
- How to make the overflow CSS property work with hidden as value
- How to completely remove borders from HTML table
- Including external HTML file to another HTML file [duplicate]
- CSS list-style-image size
- How to fix a footer overlapping content?
- Can’t fix: ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags
- How to disable auto-play for local video in iframe
- Styling an input type=”file” button
- How to stick footer to bottom (not fixed) even with scrolling
- How to semantically add heading to a list
- Multiple distinct pages in one HTML file
- How to change the background-color of jumbrotron?
- How to create a HTML Cancel button that redirects to a URL
- How to parse Excel (XLS) file in Javascript/HTML5
- Reload an iframe with jQuery
- How to align 3 divs (left/center/right) inside another div?
- The character encoding of the HTML document was not declared
- How do I use HTML as the view engine in Express?
- Align an element to bottom with flexbox
- How to make fixed header table inside scrollable div?
- Best way to center a on a page vertically and horizontally?
- Find out whether radio button is checked with JQuery?
- Display text on MouseOver for image in html
- How to make a div 100% height of the browser window
- How to use data-saferedirecturl in a tag in PHP?
- How can I embed a YouTube video in a WordPress template page?
- Preserve white-space in Page
- Change Default Image HTML
- HTML / Javascript in custom field textarea?
- How do I make wordpress comment fields required?
- Edit Custom Links Menu markup: Making a Social Media Menu with linkable icons
- The value of attribute [ data-type ] must be in double quotes – custom html widget error
- Adding JavaScript to a WordPress website
- Can I use a plugin for a singular page on my website?
- Understanding Theme specific Code
- how to setup content on a static frontpage with css and xhtml
- Ajaxify This Code
- Add Attribute to p Tag of Post Content
- How to insert HTML/JavaScript form into WordPress page? [closed]
- WordPress Comments – Rich Text
- custom html in page change in browser
- Dot is not added at the end of href
- Add .htm extention to a custom taxonomy
- How do I add a custom css to all posts without affecting homepage css? [closed]
- I used single quote to design HTML of my WordPress blog. Now site redirects to index.php everytime than page.php or single.php
- How to edit HTML of my website on WordPress? [closed]
- Adding html banner to posts
- Link to page with posts of specific type
- How do you render posts from outside wordpress?
- how to convert XML from URL to HTML
- Allow Access To Subfolder Of HTML For Logged In Visitors
- Apply a Meta tag to one page only
- Removing Line Break Tags from a Page
- Using Tags Instead of Categories for site structure
- Gtmetrix: avoid bad requests
- Unable to autoplay and loop a cinemagraph from Imgur
- current menu item hover not working?
- How to create a php page to collect information from a html page
- How to replace a specific html tag in bulk?
- WooCommerce – Print Processing orders [closed]
- How to get html tag ids from template?
- HTML-to-WordPress: Dropdown Navigation Menu [closed]
- Adding Custom HTML/CSS/JS code in specific page
- How do I cycle a JS function in WordPress? [closed]
- How to reply with 200 from Nginx, without serving a file?
- How to modify default tags in wp_head()