XHTML and CSS Tutorial – 28 – Style More Than One Elements & Span!
For all of my tutorials, go to http://www.thenewboston.com/
Don’t forget to check out our other video tutorials or share this video with a friend.
17 responses to “XHTML and CSS Tutorial – 28 – Style More Than One Elements & Span!”
Leave a Reply Cancel reply
Video Tutorials
Bringing you the best video tutorials for Photoshop, Illustrator, Fireworks, WordPress, CSS and others.
Video tutorial posted 16/05/13
Category: CSS Tutorials
Pages
Random Videos
-
3ds max tutorial, modeling kitchen sink
1,989 views
-
Enhancing eyes in Lightroom – Lightroom tutorial
1,451 views
-
CSS Bunny Hopping Tutorial
4,543 views
Video Categories
- 3DS Max Tutorials (150)
- After Effects Tutorials (160)
- C# Tutorials (121)
- Colour (6)
- Crazy Effects (1)
- CSS Tutorials (120)
- Dreamweaver Tutorials (139)
- Excel Tutorials (127)
- Featured (10)
- Fireworks Tutorials (131)
- General Effects (9)
- HTML Tutorials (143)
- Illustration and Vector (1)
- Illustrator Tutorials (174)
- IMove Tutorials (119)
- Lightroom Tutorials (145)
- People and Faces (3)
- Photoshop Tutorials (169)
- Text Effects (7)
- Uncategorized (32)
- WordPress Tutorials (140)
Tags
VideoTutorials.co.uk
-
Videotutorials.co.uk offers the web's best Photoshop tutorials, Illustrator video guides, CSS and HTML tutorials and much more all in one place. With new videos being added every day, you can learn how to master software and code to give your images and website some great effects.
Our site has beginner, intermediate and advanced video tutorials of varying lengths so you can learn a new skill at your own speed and level. So whether you're a web designer, print designer or just wanting to edit some family photos, you can get to it quickly and easily using these free video guides. (more)
What is this? Number 28? I don’t even know anymore… all I know is I.. must… stay… awake… *falls asleep*
perfect spelling mistake Bucky
Actually, you can randomly put element names, like
Emile{
font-weight:bold;
}
Emile lalala Emile
and that ‘lalala’ would be in bold
(sorry for not putting greater than and less than, youtube won’t allow it)
for carrots type like the normal tags(can’t use tags here): (span class=”carrots”) “i love carrots” (span)
for apple pie: (span class=”apple”) “apple pie” (apple)
you write the CSS code into the 2 classes.
These 2 classes are inside the style tags, where Bucky placed them (at the beginning).
.carrots {CSS code here;}
.apple {other CSS code here;}
No, but you write class for them: span class=”x”, other span class=”y”,…
i think NP++ recognizez both
Its the same,if ID is used,then the had to use.
#(The name of the ID){
Whatever you want to modify
}
if class is used:
.(The name of the ID){
Whatever you want to modify
}
Basically,in ID – after the “#” symbol,you put the name of the ID,and if class is used,the after the “.” symbol,the name of the class is written.
In conclusion,its the same (but several clases can have the same name,but ID must have an unique value.)
Rather using .class
did anyone notice it was precisely the half of the tutorial when he said “this was it for the first half of the tutorial.” @ 3:09 lol
Using the ID attribute of HTML..
Ok, seems like span1, span2 work too. Didn’t know that, but someone pointed that out in the comments.
You can, but I think Bucky will explain it later. It has to do with IDs.
|span id=”span_name”| – smaller than, greater than signs.
And in CSS:
#span_name| – The usual curlies go here { }.
parameters here
|
did it start out fuzzy for anyone else
can you do like span1, span2, etc
hahaa, loved your comment.. )))
Im german… so we spell color “Farbe”… now tell me again…
It actually does work LOL. I thought this was a troll comment at first.