#id





css/style.css
  • #p1 {
  •  color: #F00;
  •  font-size: 36px;
  • }
#p1 {
 color: #F00;
 font-size: 36px;
}


index.html
  • <!DOCTYPE html>
  • <html>
  • <head>
  •  <meta charset="utf-8" />
  •  <title>New Page</title>
  •  <link href="css/style.css" rel="stylesheet" />
  • </head>
  • <body>
  •  <p id="p1">Hello World!</p>
  • </body>
  • </html>
  • <!DOCTYPE html>
  • <html>
  • <head>
  •  <meta charset="utf-8" />
  •  <title>New Page</title>
  •  <link href="css/style.css" rel="stylesheet" />
  • </head>
  • <body>
  •  <p id="p1">Hello World!</p>
  • </body>
  • </html>