Pr.Pg Next Pg

<MARK>..</MARK> tag tutorials

  • This <MARK> Marked Text element defines a marked section of text. It should be used in a sense similar to how a highlighter is used on text.

  • The <MARK> tag is supported in Chrome, Firefox, Internet Explorer 9+, Opera, and Safari.

  • The below table shows the <MARK> tag attributes:

 

Sr No

Attributes

Descriptions

1

ID

This attribute specify a unique name in a document.

2

Class

This attribute specify the class name in CSS file.

3

Style

This attribute specify the Style

4

Title

This attribute specify the title to the element.

 

Syntax:

<body>

<mark>

</mark>

</body>

 

Example: HTML program to demonstrate mark element

Output:
Pr.Pg border                                              Next Pg