allcatsmeow2
Learning To Code: HTML Part 2
Hello, Dolls!
Ready to get a bit more into HTML and learn some CSS?
Shown below is a basic Stardoll presentation.
Hi! I'm a basic presentation!
Just like how the presentation is cute, small, and basic, the code for it is too! Shown below is the actual code used for the presentation above.
<html><head><body><p style="background-color:black;border:20px double #fff;color:#fff; width: 100px; height: 50px; text-align: center;">Hi! I'm a basic presentation!</p></head></html>
For some dolls, everything above might seem like a whole different language, but no worries! That's perfectly normal.
Here's a basic translation of the code above:
Right after the first paragraph tag (<p) in the code, the style attribute appears. The style attribute is used to set the style of an HTML element. The HTML style attribute has the following syntax:
<tagname style="property:value;">
Continued in Part 3 . . .
GET TO KNOW OUR STARBLOGGERS
2010vampire
Featured post: "The NEW Disney Wizards"midnightmonkey627
Featured post: "Styling OOTM 2023"Vulacano10624
Featured post: "CallieCon AMA - Q&A with Vulacano106 - Part 2"Elizabeth_C.K.28
Featured post: "HOMEMADE SNACKS RECIPES #3 - Popcorn"Justanother.18
Featured post: "5 Art Ideas- Get Creative!"PIMIENT0
Featured post: "Stranger Talks"Dadaliana268
Featured post: "Suite Design for a Sweet Dime #2"allcatsmeow2
Featured post: "Cat-O-Ween Con: Black Widow Edition!"-sassychic1998
Featured post: "virtual styling 12"imweirdo
Featured post: "My thoughts on a climate crisis"madmadeleine69
Featured post: "Sauteed Chicken Breast Pan Gravy"muge_derin
Featured post: "Starcoin Outfits #12"