0% found this document useful (0 votes)
24 views

CSS Selector (Property: Value) Body (Background-Color: Red)

Uploaded by

Thein Zaw Min
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)
24 views

CSS Selector (Property: Value) Body (Background-Color: Red)

Uploaded by

Thein Zaw Min
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
You are on page 1/ 1

HTML CSS

<tag attribute=”value”> selector {property: value}


<body bgcolor=”red”> body {background-color: red}

<html>
<head> title>Internal CSS </title>
<style type="text/css">
body {background-color: red}
Internal CSS </style>
</head>
<body>
</body>
</html>
<html>
<head>
<title>External CSS by WWM</title>
External CSS <link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
</body>
</html>
<html>
<head> title>Inline CSS by WWM</title>
</head>
Inline CSS <body>
<p style="color: red; margin-left: 50%">This is Paragraph</p>
</body>
</html>

p {text-align: center; font-family: "sans serif"}

You might also like