Highlight parts of a text. Definition and UsageThe Browser SupportThe numbers in the table specify the first browser version that fully supports the element. Global AttributesThe Event AttributesThe |
Example:
HTML
<p>Do not forget to buy <mark>milk</mark> today.</p>
Most browsers will display the <mark>
element with the following default values.
Example:
HTML
<!DOCTYPE html>
<html>
<head>
<style>
mark {
background-color: yellow;
color: black;
}
</style>
</head>
<body>
<p>A mark element is displayed like this:</p>
<mark>Highlighted text!!</mark>
<p>Change the default CSS settings to see the effect.</p>
</body>
</html>
Reffered: https://www.w3schools.com/tags/tag_mark.asp
How to create HTML <mark> Tag | HTML Tag |
How to set Default CSS Settings for MARK | HTML Tag |
Read Full: | HTML Tag |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded: | 3 months ago |
Uploaded by: | Admin |
Views: | 48 |