Sara Soueidan 9/7/2018

Nested Links Without Nesting Links

Read Original

This article addresses a front-end web development challenge: making an entire article preview clickable while preserving individual links within it (like author names). It explains the HTML specification's prohibition against nesting <a> tags and details a creative workaround using the <object> element with an invalid type to trick the browser into rendering the nested link structure correctly.

Nested Links Without Nesting Links

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser