Home >Web Front-end >HTML Tutorial >Highlight HTML content for reference

Highlight HTML content for reference

WBOY
WBOYforward
2023-09-01 17:25:021328browse

Highlight HTML content for reference

Use the tag to highlight HTML content. The HTML tag specifies highlighted text for reference, i.e., its relevance in other contexts.

Example

You can try running the following code to highlight the HTML content for reference -

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Mark Tag</title>
   </head>
   <body>
      <h2>Cricketers in India</h2>
      <p>Sachin Tendulkar is <mark>god</mark> of cricket.</p>
   </body>
</html>

The above is the detailed content of Highlight HTML content for reference. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete