Inline styles override any CSS in a <style> tag or external style sheet. While this can be useful in some
circumstances, this fact more often than not reduces a project's maintainability.
The styles in the following example apply directly to the elements to which they are attached.
Code: Select all
<h1 style="color: green; text-decoration: underline;">Hello world!</h1>
<p style="font-size: 25px; font-family: 'Trebuchet MS';">I ♥ CSS</p>
and devices, but can be time-consuming to write and a bit challenging to manage.
Learn about external stylesheets - viewtopic.php?f=7&t=449
Learn about internal stylesheets - viewtopic.php?f=7&t=450