+ 7
What is the use class="selected"in html
5 Antworten
+ 7
You can use the classes to apply CSS to a given element/elements. You can also use a class to select elements with Js.
+ 3
There is no effect if you just put class="selected"in html file only.
You need to define "selected" class in style tag or css file.
+ 1
class="selected" is used for the next type of coding you'll learn after completing the HTML Course (The CSS one as stated above), which is why we don't see any difference yet while only using HTML.
0
What is the use class="selected"in html
0
I still couldn't understand it. Help any one please.