View Single Post
Old 01-31-2017, 08:40 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,360
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Effectively they will do the same thing. However, the link will point to the element with the ID. <h4 id=...> would link to the <h4> tag, while <a id=...> points to the actual letters themselves. If you have some bizarre css styling it could throw off your result. Such as:

CSS
h4 {margin-top:15em}
or
a {margin-left:75%}

could have the link point to the incorrect page on smaller screens, or the wrong point on the page.
Turtle91 is offline   Reply With Quote