Style attribute


#1

Hiya!

Please check out my code;

<!DOCTYPE html>
<html>
    <head>
        <title>Daniel</title>
    </head>
    <body><img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg"</body>
    <p style="color:red">I am 29, male, orpington</p>
    <ul style="font-size:16">
        <li>Interests
            <ol>
                <li>Learning to code</li>
                <li>Watching basketball</li>
                <li>Playing music</li>
            </ol>
        </li>
            
        <li>Jobs
            <ul>
                <li>Tesco</li>
                <li>Sainsbury's</li>
                <li>FSA</li>
           </ul>
        
        
        </li>
        <li>Favourite Quotes</li>
        <li>Where I've Lived</li>
        
</html><!DOCTYPE html>
<html>
    <head>
        <title>Daniel</title>
    </head>
    <body><img src="https://s3.amazonaws.com/codecademy-blog/assets/ninja_zpsa5dbe37a.jpg"</body>
    <p style="color:red">I am 29, male, orpington</p>
    <ul style="font-size:16">
        <li>Interests
            <ol>
                <li>Learning to code</li>
                <li>Watching basketball</li>
                <li>Playing music</li>
            </ol>
        </li>
            
        <li>Jobs
            <ul>
                <li>Tesco</li>
                <li>Sainsbury's</li>
                <li>FSA</li>
           </ul>
        
        
        </li>
        <li>Favourite Quotes</li>
        <li>Where I've Lived</li>
        
</html>

Can i not use the style attribute with an unordered list or something? (it worked for

why not


    #2

    No problem it was OK, it all worked. easy. :smile:
    I wasn't sure how to add multiple attributes.


    #3

    style is an attribute, font-size and color are property's and 16px (you forgot px) and red are values. You figured out how to use multiply attributes or multiply property's + values?

    I assume you figured it out? Any questions?