Applying CSS

In-line

In-line styles are plonked straight into the HTML tags using the style attribute.

They look something like this:

Save the HTML file. This now links to the CSS file, which is empty at the moment, so won’t change a thing. As you work your way through the CSS Beginner Tutorial, you will be able to add to and change the CSS file and see the results by simply refreshing the browser window that has the HTML file in it, as we did before.

Share your love

Leave a Reply

Your email address will not be published. Required fields are marked *