Home HTML CSS JAVASCRIPT BOOTSTRAP Python Docker ML tutorial About us Privacy policy

Add CSS in HTML


Add CSS in Html



Css is providing a way to add css in html document three ways of inserting a style sheet in Html document:-
  • External CSS
  • Internal CSS
  • Inline CSS

  • External CSS

    The < link > element is using in Html pages to describe the relationship between two documents(css and Html)
    < link rel=”stylesheet” type=”text/css” href=”...” / >

    An external CSS style-sheet can be written in your text editor



    Internal CSS:-

    A internal CSS style-sheet using in the single HTML web page has been unique style. and Using < style > </ style >.

    Inline CSS:-

    Inline css is using in single element.