CSS - Style declaration (Inline - (External|Internal) Style sheet)

1 - About

There is three ways:

  • External style sheet
  • Internal style sheet
  • Inline style or inline CSS. Styling is done in the HTML file without worrying about a separate CSS file.

3 - Methods

3.1 - External

   <link rel="stylesheet" type="text/css" href="mystyle.css">

see HTML - The link element (inter-document relationships)

3.2 - Internal

      a {color:blue;}

HTML - Style (Element|Embedded Style) - Attribute

3.3 - Inline

With inline Css, you use the style attribute to define the style.

<p style="color:blue;">This is a paragraph with an inline Css style.</p>

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap