Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: ergophobe

Message Too Old, No Replies

Fragment Identifiers

Axioms of Web Architecture

   
5:13 pm on Mar 2, 2007 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member



An excellent tool for Accessibility and Usability...

URI References: Fragment Identifiers on URIs
[w3.org...]

2.1.2 Fragment identifiers
[w3.org...]

I've always made use of fragment identifiers when designing the architecture of a site. It provides one click access to something specific or a function within a document. I also make use of a Back to previous function so that when you are following fragments, you can quickly jump back and forth between them.

I do utilize the id attribute as opposed to the deprecated name attribute. I label the ids exactly like the name of their destination/function.

http://www.example.com/#foo

Goes to...

<h2 id="foo"></h2>

Do you use fragment identifiers? If so, how do you use them and how have they helped the user experience?

7:14 pm on Mar 2, 2007 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Oh, I would also like to point out that anytime you are referencing a "root" level page such as index.html or default.asp, you can back the URI up to the trailing forward slash and append your fragment identifier at the end. So, this...

http://www.example.com/index.htm#foo
http://www.example.com/sub/index.htm#foo

Becomes this...

http://www.example.com/#foo
http://www.example.com/sub/#foo

Much cleaner and easier to remember. ;)

 

Featured Threads

Hot Threads This Week

Hot Threads This Month