The standard tutorials teach how to use the hashtag and the anchor name to link to page sections, like so:
<li><a href="#section2">Section 2</a></li>
<h1>Title</h1>
<a name="section1"></a><h2>Section 1</h2>
<p>Blah bla bla bla bla.</p>
<a name="section2"></a><h2>Section 2</h2>
<p>Blah bla bla bla bla.</p>
How do I make a page jump where I can embed the link to the page section using a fully qualified url? For example:
<a href="http://www.mydomein.com/page1?section=section2">Please read section 2</a>
The application is a signup notification email.
name
orid
will work, thoughid
is valid for any type of element whereas these daysname
is intended for form elements. In other words, OP should be usingid
instead ofname
, but for backwards compatibility,name
will work.