If you want to make your web page beautiful, you must know CSS. CSS is a language that allows you to describe your web pages, color your texts, change the font of the text, and modify the layout of the web page.
There are two parts of a CSS syntax:
This tag should be kept between the
<head></head> tags. Therefore, the structure of the code will be as shown in the following:
<html> <head> <title> </title> <style> // your codes will be typed here </style> </head> <body> </body> </html>
The CSS codes will be written in between the
To format your text, you need to remember the tag that you used for the text. Consider that you have a text in the
<h1></h1> tag in the body of the HTML document, as follows: