Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8975573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:54:57+00:00 2026-06-15T18:54:57+00:00

HTML5 allows for links to be wrapped around block elements (one or several), but

  • 0

HTML5 allows for links to be wrapped around block elements (one or several), but how exactly will it render in older browsers? Let’s say to go as far back as IE6.

I haven’t found full details yet (but there are some examples).

The markup would be as follows:

<a href="http://example.com">
  <section>
    <h3>Heading</h3>
    <p>Text</p>
  </section>
</a>

Also, would the most semantic way to make it compatible in older browsers be to wrap the links inside each block element separately? I’ve seen suggestions to replace the block elements with span, but that’d make it inline and alter the meaning of headings.


I’ve noticed that even modern browsers (e.g. Safari on iOS 6) do weird things. For example, try clicking on the image in this JSFiddle from your mobile brwoser — even though it shares the link with the caption below, the caption doesn’t get highlighted for me. Furthermore, when clicking the caption, the image nor caption get highlighted.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:54:59+00:00Added an answer on June 15, 2026 at 6:54 pm

    As far as I know, the behavior is generally the same as modern browsers. Everything in the sample markup given will turn into a single hyperlink. This is regardless of whether or not you include the HTML5 shiv for older IEs to recognize the new semantic elements.

    This is probably because there’s nothing in HTML that says a specific starting tag should automatically close an unclosed <a> tag — the end tag is required to denote the end of a hyperlink.

    And yes, that’s how I’d do it to preserve semantics if I want to conform to an older HTML doctype. It’s not required for HTML5 conformance though, since it works based on the assumption that even older browsers already behave this way (backward compatibility and everything).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a good jQuery plugin that allows HTML5 video playback, with graceful
I want to make an html5 website that will allow others to play mobile
The following code will only let me drag and drop ONE clone onto a
On the one hand mod_rewrite allows me to make userfriendly urls redirecting requests to
My app allows user to navigate around a grid with the keyboard using all
HTML5 allows us to update the current URL without refreshing the browser. I've created
I am looking to build a tooltip that allows the user to click links
I have a website that allows users to post links. I am trying to
I'm building a sharing site which allows to share webpage links with Ruby on
I have a html page that allows users to submit a file. Below is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.