Question:

What does class="menu" do

by  |  earlier

0 LIKES UnLike

class="menu"

I don't know what it does. I have to put it in the code

ex. <a href="heheheh" class="menu">hehe</a>

what does it do?

 Tags:

   Report

2 ANSWERS


  1. IN THE SAME PAGE

    there will be some.css file that is linked to this page.

    like

    &lt;LINK REL=StyleSheet HREF=&quot;style.css&quot; TYPE=&quot;text/css&quot; MEDIA=screen&gt;

    go to stle.css file an dsearch for menu class

    and lok for properties of this class


  2. In this context, &#039;class&#039; is a reference to a set of formatting criteria contained in a style sheet. Check the source for the page that had your anchor tag - somewher (probably up near the top) there will either be a the actual style definitions themselves or (more likely) a reference to an external stylesheet (look for something with a &quot;.css&quot; extension). In one of those places, you&#039;ll find where class &quot;menu&quot; is defined (most likely a drop-down selection of some sort).

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.