Answers for "css attribute"

CSS
4

target css by form name

tag[name="nameofthetag"] {
	//style your html tag
}

Example: 
<input type="submit" value="Go" name="goButton">
input[name="goButton"] {
  background: red;
}
Posted by: Guest on June-24-2020
1

css class attribute

<h1 class="Class">Content</h1>
<h1 id="id">Content</h1>
Css: 
.class
#id
Posted by: Guest on January-03-2021

Browse Popular Code Answers by Language