HTML has been designed to describe a document's content but not it's display.
Formatting tags (<b>, <br>, <i>) should not be used.
<b>
<br>
<i>
CSS should be used instead.
Separation of Concerns: CSS allows separation of content and design.
https://codepen.io/davidkpiano/pen/kkpGWjarrow-up-right
CSS syntax is basically composed of selectors, properties and values.
The selector: allows you to select which elements in the page are concerned by this styling.
The property: is the the styling property you want to control.
The value: is the value you want to set on the property.
Except if you are using a framework, CSS is generally loaded using the HTML <link> tag.
<link>
Last updated 7 years ago
selector { /* Comment your CSS! */ property: value; ... }
p { color: red; text-align: center; }
<head> <link href="/assets/style.css" rel="stylesheet" type="text/css"> </head>