Pages

Basics of CSS

Saturday, 3 November 2012


Here's an exercise with the traditional "Hello, world!" example. First, open a text editor or a favorite web page editing tool and enter the following:
<html>
 <head>
  <title>CSS webaegis.in</title>
 <head>
 <body>
  <p>Hello, world!</p>
 </body>
</html>
Copy this HTML script in to a notepad and save as webtuter.html file. Open this file into a browser to see the output.
Now let’s ready use CSS in your HTML, To change the style of the HTML text from to sans serif, add a bit of the following CSS in line <p>Hello, world!</p> that look like
<p style="font-family: sans-serif;">Hello, world!</p>

No comments:

Post a Comment

 

Labels

Blogger news

Blogroll

Most Reading

Tags