- 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 . . .
TUTUSTU STARBLOGGAREIHIN
- Candy-8-23 Lue myös: "Sisustusta"
- Meude33 Lue myös: "Varokaa huijareita!!"
- humility25 Lue myös: "Kesäinen meikki"
- ihq_niisku Lue myös: "Tee se itse -kengät"