We can give only one value in HTML id attribute. HTML id attribute is using by css and javascript for performing tasks. HTML id attribute is using in css and javascript with hash(#).
<!Doctype Html>
<html>
<head>
<title>HTML Id Attribute</title>
<style>
#anchor{
color:blue;
}
</style>
</head>
<body>
<a id="anchor" href="https://www.coderraj.com/">coderraj.com</a>
</body>
</html>
Output
coderraj.com
Copyright ©2022 coderraj.com. All Rights Reserved.