An Evolution of the Most Widely used Technology in the World.


A collection of components and scripts based on HTML5.


Tutorials and references on the HyperText Markup Language 5.


Tutorials and references on the Javascript language.


Tutorials and references on Cascading Style Sheet.

HTML5 Tags
HTML5 Advance Features

mark element - <mark>

The <mark> element is used for highlighting certain parts of a text in another context to accentuate its relevance in current context. This is shown in the example below.

	   	<p> John wrote: "I would love to 
		embark on a new <mark>endeavour</mark> 
		this year."</p>

	   	<p>As we can see from the spelling above, 
		John is using British spelling and 
		he may be a British.</p> 
The following shows the output of the above example.

It is important to note the difference between the <mark> element and the <em>/<strong> elements. Use the <em> element to mark emphasis to a word. For example what you really want to tell the readers. Use the <strong> element to mark importance to a word. For example, warning or error text. Use the <mark> element to indicate a reference to a word or words in another context.

The second usage of the <mark> element is to highlight certain parts of a document due to the relevance of a user's current activity. For example, if a user is searching for the word "dog", the server will use the <mark> element to highlight the matching string in the document.

	  <p>Old English Sheep<mark>dog</mark> is one of the 
	  oldest <mark>dog</mark> breeds in the world.
The following shows the output of the above example.

The World Wide Web and Applications Revolution.

Copyright © 2010-2013 All Rights Reserved.

Valid HTML 4.01 Strict