allcatsmeow2allcatsmeow2

 

Learning To Code: HTML Part 3

79 महीने पहले

Hello, again Dolls!

Ready for Part 3 of Learning To Code: HTML?

Just in case you forgot, the HTML style attribute has the following syntax:

<tagname style="property:value;"> 

The property part of the code is actually a CSS property, so whenever you're coding a presentation, you're also coding a bit of CSS. This is because CSS is actually a style sheet language that's used for describing the presentation of a document written in a markup language like HTML.

In this case, since we're creating a presentation to use on Stardoll, our tagname would be the paragraph tag which is p and the first property in the code would be background-color. The value for the property background-color is classified by either a color or a color code. As an example, I set the background's color to be black.

After making those adjustments, this is how the code now looks:

<p style="background-color:black;">

 

 

As you can see in the code, I used a colon (:) to assign the property's (background-color) value and I ended the value (black) with a semicolon. If the colon is not used to assign the value of the property & you try testing it, nothing except for a blank screen will appear. Basically the same goes for a semicolon (;). If you have more than one property in your code and don't end the value with a semicolon, either a blank screen will appear or parts of the code won't be visible.

Continued . . .


इसमें पोस्ट की गई:newsuser contentenstardoll.comreal lifeallcatsmeow2Learning to Codehtmlcodingcss
विज्ञापन

Facebook

Instagram

हमारे Star ब्लॉगर्स के बारे में जानें

संग्रह

लड़कियों के लिए ड्रेस अप गेम्स खेलें, अपनी पसंदीदा सेलिब्रिटीज़ को ड्रेस अप करें और फ्री फ़्लैश गेम्स खेलें.