0% found this document useful (0 votes)
8 views2 pages

External CSS

The document provides examples of three types of CSS: external, internal, and inline. Each section includes HTML code demonstrating how to apply styles using different methods. The examples illustrate the use of styles for background color, text color, and text alignment.

Uploaded by

rajusonam56
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

External CSS

The document provides examples of three types of CSS: external, internal, and inline. Each section includes HTML code demonstrating how to apply styles using different methods. The examples illustrate the use of styles for background color, text color, and text alignment.

Uploaded by

rajusonam56
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

External CSS

<![Link]>

<html>

<head>

<link rel=”stylesheet” href=”my [Link]”>

</head>

<body>

<p> this is my paragraph </p>

<h1> this is my heading </h1>

<b class=”change”> this is having text external css </b>

</body>

</html>

INTERNAL CSS

<[Link]>

<html>

<head>

<style>

body {

background color:red;

h1{

color:black;

</style>
</head>

<body>

<p> this is my paragraph </p>

<h1> this is my heading </h1>

</body>

</html>

INLINE CSS

<!DOCKTYPE>

<html>

<title> Raap</title>

<body>

<h1 style:”color-red; text-align: center;” > This is my heading </h1>

</body>

</html>

You might also like