Using HTML with CSS

Download html eBook


CSS provides styles to HTML elements on the page. Inline styling involves usage of the style attribute in tags, and is highly discouraged. Internal stylesheets use the <style> tag and are used to declare rules for directed portions of the page. External stylesheets may be used through a <link> tag which takes an external file of CSS and applies the rules to the document. This topic covers usage of all three methods of attachment.


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

Related Examples


219 Contributors: 9
Monday, July 31, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook