HTML Style Element

This element is used to style the HTML page. The <style> element can have CSS properties for that HTML page only. If we want to apply CSS for multiple pages then we should use separate CSS file.


<!DOCTYPE html>  
  <title>This Page Title</title>  
    body {background-color: pink;}      
    p {color: blue;}  
<p> Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy</p>