A CSS (cascading style sheet) file allows you to separate your web sites (X)HTML content from it's style. As always you use your (X)HTML file to arrange the content, but all of the presentation (fonts, colors, background, borders, text formatting, link effects & so on...) are accomplished within a CSS. At this point you have some choices of how to use the CSS, either internally or externally.
Internal Stylesheet
First we will explore the internal method. This way you are simply placing the CSS code within the <head></head> tags of each (X)HTML file you want to style with the CSS. The format for this is shown in the example below.
<*head>
<*title><*/title>
<*style type="text/css">
CSS Content Goes Here
<*/style>
<*/head>
<*body>
<*title><*/title>
<*style type="text/css">
CSS Content Goes Here
<*/style>
<*/head>
<*body>
0 komentar:
Post a Comment