Wednesday, May 14, 2014

HTML Lessons part 20

In this lesson I am going to teach you how to use the <span> tag.  The span tag is used for special styling inside a paragraph.  You can make multiple different spans like this <span2> <span3> and so on.  You can code it like this.

<p style="color: blue">Hi whats <span style="color: red">your</span> name?</p>
It would turn out like this.
Hi whats your name?

You can also style spans with CSS or <style>.  That is all for today!

No comments:

Post a Comment