A Little Bit of CSS

Button

Although this is an HTML course, we need to add some CSS style elements because the equivalent HTML elements for styling have been deprecated.

Where to put the CSS Files?

The best practice is to put the CSS style elements externally by saving them in a .CSS file. However, that would be two advanced for a beginner.

So we will put the style elements in the <head></head> section of the document. We use <style></style> tags to put CSS in.

<!DOCTYPE html>

<html>

<head>

 

</head>

<body>

<h1>Mars Calling. Get Your Tickets Now!</h1>

 

<img src="Images/Mars-Photo.jpg">

</body>

</html>