You are on page 1of 1

Use the HTML 'style' attribute is for inline styling

Use the CSS 'background-color:' for background colors
Use the CSS 'font-family:' for font types
Use the CSS 'font-size:' for font sizes
Use the CSS 'text-align:' for text alignments
Use the HTML <style> element to define internal CSS
Use the HTML <link> element to define external CSS
Use the HTML <head> element to store <style> and <link> elements
E.g
1.<p style="color:red">This is a paragraph.</p>
2.<html>
<head>
<style>
body {background-color:lightgrey}
h1 {color:blue}
p {color:green}
</style>
</head>