welcome to tutorialfamily

html id

HTML id defines in <div> tag.

HTML id used for giving css to element.

HTML id selector defines as (#class-name).

Syntax <div id=”class-name”></div>.

example



<!DOCTYPE html>
<html>
	<head>
		<title>
			id demo
		</title>
	</head>
<body>
	<div id=”car”>
		This is my car !!!
	</div>
</body>
</html>


Our Content