CSS

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:

  • Selector
  • Decorator

Before proceeding with learning CSS, you need to introduce yourself with an HTML tag:

<style>

</style>

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 <style></style> tags.

To format your text, you need to remember the tag that you used for the text. Consider ...

Get JavaScript Projects for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.