welcome to tutorialfamily

html class

HTML class defines in <div> tag.

HTML class used for giving css to element.

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

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

example



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


Our Content