Changing HTML Text Color & Size

Viewing videos requires the latest version of Adobe's Flash Player.
Get the latest Flash player.
Showing 1-5

Part of the video series: Introduction to HTML Computer Code

Summary: How to change text color and size in an HTML document; learn how to build your own website in this free computer programming video.

Views: 2,223 | Tags: computer, digital, vidoes, computers, programs, html, programming, code, coding


About the Expert
Contact: greenbelt.com/dorian/resume.html

Dorian Winterfeld Dorian Winterfeld has a Bachelor of Science Degree in Computer Science and has general web and database programming primarily in Perl and SQL on Windows and U... read more

Conversations About This Video

  • Comments
    (0 comments)
  • Questions & Answers
    (0 questions) (0 answers)
Be the first to comment on this video.
Have a question about this video topic? Ask our community members and let them share their knowledge with you!
Ask A Question

Video Transcript

Changing HTML Text Color & Size

Hi, I'm Dorian Winterfeld, on behalf of Expert Village. I've been doing web programming for about ten years, and today we are going to cover the basics of HTML. Now I'm going to show you how to change the color of your text. To make it simple, I'm going to get rid of these tags, and I'm going to go back to our basic, just plain text just to show you. There: Hello Expert Village. Let's say we wanted to change the color of our text. Well, we're going to do it with what's called the font tag. We're going to open the font tag, and we're going to close the font tag. Notice I'm opening it and closing it just like all the other tags. Hopefully, you should be getting used to this. Now, we have to add an attribute of color. Color equals, let's say, red. So, we have our tag, we have the attribute is color. Color equals red, close tag. We're going to save the document, we're going to reload, and what do you know? Now it's red. Say you want to make it red, but you also want to make it bigger. Before, we used the tag called 'big'. Now I'm going to add an attribute to 'font' called 'size' equals. Now, in this case, I'm going to make the size equal plus one. Let's reload it; now it's red and its one notch bigger. Let's say I made it plus ten. Now it should be ten times as big as it was originally. There you go. So you can see, that with the font tag, you can control the color, the size, and there are many other attributes to the font tag where you can control all the aspects of your text. Just to show you, you know we can make this green, save it, reload, and now it's green. So there you have it.

Computer Programming Ads

Community Members who...

  • Favorited this Video
  • Rated This Video

Check out what people are watching now
left_arrow right_arrow