nshady
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by nshady
-
-
oops edited , reenter my questionsBut ID can be used a lot of times rite ? It's just that it cannot use da same NameLike <p id=orange>so the next 1 like <div id=(cannot orange anymore)as for class u can use same for both with different elements rite ?
-
so i can omit id ? i use class in every single document But ID can be used a lot of times rite ? It's just that it cannot use da same NameLike <p id=orange>so the next 1 like <div id=(cannot orange anymore)as for class u can use same for both with different elements rite ?
-
I think im beginning to understand , actually Id and Class have the same effect its just that ID can be used with 1 element rite ? Best to use one time.So better to use class rite ? What if i use class in every part , without using ID at all , issit okay ?This is an example of a class, the class is called .red and you can see that when i add this class to the <p> and <div> tags there contents are colored red.<html><head><style type="text/css">.red {color:red}</style></head><body><p class="red">This is a paragraph</p><div class="red">This is a paragraph</div></body></html>
This is an example of id, notice how the <p> tag has id="red and the <div> tag has id="green". Then if you look in the <style> tag i can add styles to these tags by specifying a # in front of there id = #red + #green.
<html><head><style type="text/css">#red {color:red}#green {color:green}</style></head><body><p id="red">This is a paragraph</p><div id="green">This is a paragraph</div></body></html>
Does this make sense?
-
I think im totally screwed up lol ....now i think i understand noneI think i should start with naming elements ? Please list notes for beginners huh. thnaks.
-
I still do not understand diff between Class and ID hmm..but wat i mean was html not css ,mine was like<id=boyI am a boyAs for css , the name is was the value , but mine the name is in the content.This link may help you. (Scroll down to center of page.) I'm sure if you do some more browsing around you'll find some other intresting answers. -
Hi , I read a book and they mention bout <element id=name and <element class=nameid=name identifies a particular element while class=name identifies a particular classhuh ? what a particular class ? Element got class and individual ones ? Please guide me thanks.
<Blackquote Cite = URL
in HTML/XHTML
Posted
Firstly , I just wanna know , What's the different between <blackquote>Hi im Davis</blackquote>AND <blackquote cite = http://www.davise.comHi im Davis</blackquote>I have no idea what's the point i put the URL there , Even when it comes out in Web Browser , We cant see the URL Adress , please guide me thanks.