HTML is structure. CSS is style.
opening tag<h1>Heading 1 elementclosing tag</h1>
<p style=inline CSS"color: red;">Paragraph element</p>
See the Pen Page Structure (1) – Bad Page Structure by Amy Spielmaker (@akspiel) on CodePen.
See the Pen Correct Page Structure by Amy Spielmaker (@akspiel) on CodePen.
See the Pen Page Design With Strong Visual Hierarchy by Amy Spielmaker (@akspiel) on CodePen.
<h2 style="border-bottom: 2px solid;">Heading with border</h2>
<p>Paragraph with <a href="#" style="text-decoration: underline;">link</a>
<h2 class="border-heading">Heading with border</h2>
<p>Paragraph with <a href="#">link</a>
.border-heading {
border-bottom: 2px solid;
}
a {
text-decoration: underline;
}
Answer:
Use your browser's DevTools:
Right-click Inspect
You should also have sufficiently advanced CSS skills and a commitment to code maintenance.
With external CSS, you can:
LMS | Your Style Powers | Conditions / Limitations |
---|---|---|
Canvas |
|
Several inline CSS properties are stripped |
Canvas with DesignPLUS |
|
Only possible on pages where you can use design tools |
Moodle |
|
You have to use the plain text editor or the legacy TinyMCE HTML editor |
Brightspace |
|
Several inline CSS properties are stripped; external CSS only possible on pages (“files”) |
You can edit global themes and templates. Make better defaults. Fix accessibility issues. Small changes can make a big difference. Example basic CSS additions for Moodle