Dreevoo.com | Online Learning and Knowledge Sharing
 
Home | Programs | Programming languages | HTML | Introduction to CSS text styles for beginners
Guest
Click to view your profile
Topics
Programs
Languages
Recipes
Home
Shortcuts
 
 

Introduction to CSS text styles for beginners

The very first steps in the world of CSS. We will create a HTML page with text and a CSS style file, then connect the both and play with font settings, all this in Adobe Dreamweaver.

 
  Author: NikMan | Version: CS5 | 4th May 2013 |  
 
 
1.
 

Create a new HTML page in Dreamweaver.

You can do it also in other programs, but you will have to improvise a little bit.

 
 
2.
 

On a new document just type anything you want.

 
 
3.
 

Save the document.

Do I have to say click above on File and select Save As... ?

 
 
4.
 

Click above on File and select New...

In a new window select a CSS Blank Page and click Create.

 
 
5.
 

On a new CSS document add a next css style:

.text {font-family: Tahoma; font-size: 22px;}

text is a name of CSS style and everything between { and } is its attributes like font, size, color and much much more. If you have question, just click on forum and don't hesitate to ask.

 
 
6.
 

Save this CSS document too.

 
 
7.
 

You should now have two files.

One for HTML document and other for CSS.

 
 
8.
 

Now select the HTML document you have created before.

 
 
9.
 

On a CSS window click on Attach Style Sheet icon.

If you don't see the CSS window, then click Window in menu above and enable it.

 
 
10.
 

Then select the CSS file, you have created and saved before and confirm it.

 
 
11.
 

Now, select the text on HTML document.

 
 
12.
 

In properties window press the HTML view and select the created class from a drop down form (check my pic).

 
 
13.
 

You will see the difference in your text.

Well I hope you will ;)

 
 
14.
 

Switch to CSS document and change the size attribute.

Save the CSS document.

 
 
15.
 

Switch back to HTML document and voila!

 
 
 
   
  Please login to post a comment
  Click to open user profile  
ardithvenessa, 30th Nov 2024, 11:13 AM
thank you for information!
 
 
  Click to open user profile  
lakishawraine, 2nd Dec 2024, 10:52 AM
I did my first html and css learning in Dreamweaver, it's really a very successful program, you can make your first experience with this program, I like to learn different things, other than that, what I really like to do is play games, I like to play games like basketballlegends https://basketballlegends.fun , games with sports content have always attracted my interest.
 
 
  Click to open user profile  
maryanding, 2nd Dec 2024, 6:04 PM
The website https://ghanaembassyisrael.org/raging-bu.... offers an exciting opportunity to explore the world of online gaming through Raging Bull Casino. With its enticing no-deposit bonuses, players can immerse themselves in a thrilling gaming experience and discover the excitement of this Australian online casino. From a wide selection of slots to various other games, there is something for every taste and preference. The platform provides a user-friendly interface, ensuring seamless navigation and a hassle-free gaming experience. Whether you're a seasoned player or a novice, Raging Bull Casino promises hours of entertainment and the chance to win big. Explore the virtual world of gaming today!
 
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO