jwright9
asked on
Given <td class="fn n">, what is the meaning of "fn n"?
I found the html fragment:
<td class="fn n">
Are the classes fn and n special reserved CSS classes? There was no CSS style that defined these two classes. Does anyone have an idea what these are?
<td class="fn n">
Are the classes fn and n special reserved CSS classes? There was no CSS style that defined these two classes. Does anyone have an idea what these are?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That's correct. Basically if you don't find a css rule for those classes, chances are they are used for something other than css. I am not saying that "fn" and "n" are being used for validation in scripting. I am saying that in general you can use classes - whatever class names you want - in your markup to help/aid with your scripting. If infact those classes are used in the context of microformats, than I could use the fact that fn stands for full name and potentially use that "knowledge" to validate the field to restrict it to letters, hyphens, spaces, and apostrophes.
ASKER
Uping the point value.
ASKER
Thanks to both of you guys. I really appreciate a real world example in the explanation. That is why hielo got the lion's share of the points.
ASKER
Hielo, I would hire you in a minute. Take care.
ASKER