web design and coding services with a huge twist of creativity.

Stuff Tagged ‘xhtml’

External Links with Javascript

If you build websites and enjoy coding according to Web Standards, then you’re probably aware that the XHTML 1.0 Strict specification leaves out a rather common attribute: target, which is used inside <a> tags to specify how the hyperlink should behave. With a value of “_blank“, the hyperlink would open in a new browser window (or tab), which is recommended if the link navigates away from the current site. (…) more after the jump ›