Tuesday, 19 April 2022

CSS #6| Inline V/s Internal V/s External CSS | Web Development.

 <!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
   <link rel="stylesheet" href="external.css">
</head>
</head>
<style>
h1 {
  color: maroon;
  margin-left: 40px;
}
</style>
<body>
    <p style="color:blue;text-align:center;">This is my Inline CSS</p>
</body>
</html>



No comments:

Post a Comment

JAVASCRIPT + CSS + HTML #42 | Event & Event Listener |How to Target using JS | Web Development

  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < met...