Advertisements
Advertisements
प्रश्न
What is the use of <mark> tag?
टीपा लिहा
उत्तर
The <mark> tag is used to highlight the text in HTML. This is also a container tag. Whatever the text given between <mark> and </mark> will be displayed as highlighting with default color (mostly yellow).
<html>
<head>
<title> Highlighting text </title>
</head>
<body>
A Computer is an <mark> electronic </mark> device
</body>
</html>
Output will be:
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?