HTML/XHTML:Basic other stuff

From virtualMV2015wiki
Jump to: navigation, search

In-page hyperlink (bookmark)

In very large documents, it is common to place an index at the top of the page that jumps to a position in the page. Also within the page a -to top - jump is provided.

<p style="text-align: center">
<a href="#stuff">Stuff</a></p> 
<h2><a name="stuff">Stuff</a></h2>

So the #stuff indicates which anchor the link is to go to. If you want to go from one web page and hyperlink to am inpage link of another web page, you can add the # anchor to the URL in the hyperlink e.g.

Reserved Characters

Certain reserved characters are part of the XML syntax and will not be interpreted as themselves if used in the data portion of an element. There are some text equivalent strings to represent special characters (starting with an & and ending with a ; (eg. &amp;).The International standards organisation (ISO) has defined character extensions to the standard ASCII set using numerical values (starting with &# and ending with ; (eg. &#38; = &). You need to substitute a special character sequence (called an "entity" by XML) as follows: ^table; Some reserved and special characters

CharacterEntityISO Value
Special Characters  
Registered ®&reg;&#38;
Copyright ©&copy;&#38;
[Left arrow] ← &#8592
Greek characters 
[Alpha] Α &#913
[Omega]Ω &#937

The &apos; is not well supported. There are many more! Ref: Phillips (2000), Appendix D[1]

Shortcut icon

In the <head> area

<link rel="shortcut icon" href="" />

Note icon must be 16 x 16 pixels

Ref: Microsoft (2006)[2]

Icon References.png References

  1. Phillips, L-A. (2000) Using XML, Special Edition, Que, ISBN 0-7897-1996-7
  2. Microsoft (2006) How to Add a Shortcut Icon to a Web Page Retrieved March 20, 2006 from

HTML/XHTML:Basic other stuff. (2020). In virtualMV's ( Michael Verhaart ) wiki. Retrieved January 26, 2020, from    (zotero)