HTML5 mark Tag is useful to highlight or mark the important text on the webpage.
HTML5 mark Tag Example:
<!DOCTYPE html> <html> <head> <title>HTML5 Mark Tag Example</title> </head> <body> 4th July is celebrated as <mark>independence day</mark> in USA.
Output: 4th July is celebrated as independence day in USA.
As you can see above, text between <mark> and </mark> tag is highlighted when page is loaded.
Difference between HTML5 and HTML 4.01:
The mark tag is new addition in HTML5. It was not available in old version of HTML.
The mark tag is supported by all major browsers in its latest version. It includes Chrome, Firefox, Opera, Safari and IE9.