How to define style information for a document in HTML

How to define style information for a document in HTML


Introduction

How to define style information for a document in HTML


techstudy.org

Kindle Paperwhite High Resolution Display Tablet | Rs. 9999

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>www.techstudy.org</title>
  6. <style>
  7. h2 {color:Red;}
  8. p {color:Green;}
  9. </style>
  10. </head>
  11. <body>
  12. <h2>TechStudy</h1>
  13. <p>TechStudy - The complete debugging solution</p>
  14. </body>
  15. </html>
  16. </html>

Result

html excercise techstudy.org

     





Related Topics



Responses




Popular Posts

Facebook

Founded in 2016, Tech Study passionately delivers stylish and dynamic innovative information to programmer and technology lovers. http://www.techstudy.org/.