- 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
- cIaudia Featured post: "Styling Jean Paul Gaultier "
- FunDemiStardoll24 Featured post: " Embrace the Magic of Stardoll "
- midnightmonkey628 Featured post: "Styling Starplaza Favorites"
- 2010vampire Featured post: "The NEW Disney Wizards"
- Vulacano24 Featured post: "CallieCon AMA - Q&A with Vulacano106 - Part 2"
- Justanother.19 Featured post: "5 Art Ideas- Get Creative!"
- PIMIENT0 Featured post: "Stranger Talks"
- allcatsmeow2 Featured post: "Cat-O-Ween Con: Black Widow Edition!"
- imweirdo Featured post: "My thoughts on a climate crisis"
- madmadeleine70 Featured post: "Sauteed Chicken Breast Pan Gravy"
- muge_derin Featured post: "Starcoin Outfits #12"