Important Notice:

Course Content
Float Property
0/1
Z-Index
0/1
CSS object-fit Property
0/1
CSS Visibility Property
0/1
CSS (Chapter 4) M2-R5.1
About Lesson

:enabled

         इस Class द्वारा By Default Enabled Elements को Target किया जाता हैं। इसका अधिकतर इस्तेमाल Form Elements में किया जाता हैं।

 

:enabled

           By Default Enabled Elements are targeted by this class. It is mostly used in Form Elements.

Example:

 

<html>

<head>

<style>

input:enabled

{   

background-color:yellow;

}

</style>

</head>

<body>

<form>

Name : <input type=”text” name=”Name”> <br>

Email : <input type=”email” name=”Email”><br>

Tel : <input type=”number” name=”Telephone” disabled><br>

<input type=”submit” value=”Submit”>

</form>

</body>

</html>

 

error: Content is protected !!