College Logo Image
 

Point 5: Provide useful hyperlink text

Go Back

1. The primary, or base language within a web page can be made indentifiable in the HTML code as follows:

<HTML lang="fr">Parlez-vous francais?</HTML>

(Top)


2. If a number of different languages are used on one page, note the changes in language. This can be accomplished by using the LANG attribute of the DIV element.

This is marked in the HTML code as follows:


<HTML LANG="en">This language is english.<DIV LANG="fr"> Je parle francais.</DIV>. This language is english now.</HTML>

(Top)