Rajdeep Singh.

Text Highlighting In HTML 5?

Mark tag Help to High Lighting text in HTML 5

By html 1 min read

Text Highlighting in HTML 5, You Highlight the Text in a Paragraph heading and use it inside another tag. Add some Color Help Of CSS. So You can Use <mark> tag In <p> tag very easily.


<mark> </mark>

Mark tag by default CSS By Chrome Browser.

mark {
    background-color: yellow;
    color: black;


<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
            background-color: black;
            padding: 0px 3px;
       <p> we are write  article that contains the <mark> Mark tag </mark> for Highlighting the text. you will make it easier to see it.</p>