CSS syntax

Unique beauty

What is CSS syntax :

 ðŸ‘€It is used to generate content ::before & ::after pseudo-element. Syntax: content: normal|none|counter|attr|string|open-quote|close-quote| no-open-quote|no-close-quote|url|initial|inherit; Property Values..

Types of CSS:

There are three types of CSS which are given below:

❤Inline CSS.

❤Internal or Embedded CSS.

❤External CSS.

Syntax:

<!DOCTYPE html>

<html>

<head>

<style>

p {

  color: red;

  text-align: center;

</style>

</head>

<body>

<p>Hello unique beauty !</p>

<p>This beauty is our magic </p>

</body>

</html>

Output:

                    Hello unique beauty 

                This beauty is our magic
Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send