User:Inter/Technical

From Wikipedia, the free encyclopedia
Revision as of 15:43, 28 February 2023 by imported>MalnadachBot (Fixed Lint errors. (Task 12))
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Technical

Want to know how to get the fancy colors?

We have to use HTML tags to get it to work, or at least I do that:

<span style="color: #990000; font-weight: bold;">This sentence will appear in red and bold</span>

See? Okay, how about the white background I use? Sure, no problem:

<div style="padding: 0.5em; background-color: rgb(255, 255, 255);">

That line will give you a white background, but you also have to remember to close the <div> tag, or the white background won't go away. You do it by appending a </div> tag behind the last thing you want with the white background. Easy!