HTML data Tag

PHOTO EMBED

Tue Feb 08 2022 09:14:36 GMT+0000 (UTC)

Saved by @Arjun007 #html #css #javasc #java #php #sass

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of HTML data Tag</title>
<style>
    data:hover::after {
        content: ' (ID ' attr(value) ')';
        font-size: .7em;
    }
</style>
</head>
<body>
    <p>New Movie Makers</p>
    <ul>
        <li><data value="204">Alson</data></li>
        <li><data value="205">Corner</data></li>
        <li><data value="206">John</data></li>
    </ul>
	<p><strong>Note:</strong> Place the mouse pointer over the list item to see how it actually works.</p>
</body>
</html>
content_copyCOPY

https://elementtutorials.com/ref/data.html