- allcatsmeow2
Learning To Code: HTML Part 5
Hello, again Dollies!
Time for part 5!
Continuing. . .
If you're wondering, "What is #FFFFFF?", well #FFFFFF is actually the hex color code for white. Although I could've just wrote white, it's actually better to get into a practice of using hex color codes than just relying on the names of a color. This is because the hex color codes are created by combining red, green, and blue (RGB) & can create over 16 million colors.
Next, we need to add a border to the presentation. To do that, we must add "border:20px double #fff;" into the code. Although the property is Border, there is more than just one value now. First, 20px (px = pixels) describes how thick we want the border. Next, you'll see double which is basically saying that we want a double border. Finally, you'll see #fff which is basically saying that we want the border to be white.
The code now looks like this:
< p style="background-color:black;color:#ffffff;border:20px double #fff;" >Hi! I'm a basic presentation!
When tested, this is what appears:
Hi! I'm a basic presentation!
Continued in Part 6
STARBLOGGER STARDOLL
- cIaudia Posting yang ditam…: "Styling Jean Paul Gaultier "
- midnightmonkey628 Posting yang ditam…: "Styling Starplaza Favorites"
- 2010vampire Posting yang ditam…: "The NEW Disney Wizards"
- Vulacano24 Posting yang ditam…: "CallieCon AMA - Q&A with Vulacano106 - Part 2"
- Justanother.19 Posting yang ditam…: "5 Art Ideas- Get Creative!"
- PIMIENT0 Posting yang ditam…: "Stranger Talks"
- allcatsmeow2 Posting yang ditam…: "Cat-O-Ween Con: Black Widow Edition!"
- imweirdo Posting yang ditam…: "My thoughts on a climate crisis"
- madmadeleine70 Posting yang ditam…: "Sauteed Chicken Breast Pan Gravy"
- muge_derin Posting yang ditam…: "Starcoin Outfits #12"