1. If your website has only one page then you don't need CSS and If your website has only five pages then it might be your options to choose CSS or not, but if your website has 100 pages then you must use CSS. Because you r not able to write the same styles or same codes in 100 pages. I think u r not clear that what I want to say.. OK.. lets see the following picture:
1. If you have one page then you can write the style codes and HTML codes in one page. This picture shows it..
Figure: One HTML page with Style Codes
2. But if you have 5 pages then you have two choices. You can use a style sheet or not, but if you use a style sheet then it will be best process to create a website, this reduces the codes and page loads. Look at the following figure.
Figure: Five different HTML page with Style codes
Figure: You have only one Style page and 5 or 100 or unlimited number of HTML pages
Thanks for reading this tutorial. The next tutorial will show you how can you write your first CSS Style and how can you link up your style sheet to the HTML page.
No comments:
Post a Comment