@Sarah
2015-12-26T00:23:23.000000Z
字数 3115
阅读 1209
HTML
You'll start to see a pattern with these HTML projects: first we'll show you what you'll be making, then we'll walk you through actually making it!
In this course, you'll be creating your own social networking profile. Check out our profile for King Kong in index.html and the Result tab to the right.
Instructions
Hit Save & Submit Code when you're ready to start building your own profile!
<!DOCTYPE html>
<html>
<head>
<title>The Kingest of Kongs</title>
</head>
<body>
<img src="https://s3.amazonaws.com/codecademy-blog/assets/da840950.jpg" />
<p>I'm male, 89 years old, and am a giant, Empire State Building-climbing ape.</p>
<ul>
<li><p style="color:red">Interests</p>
<ul>
<li style="font-family:Futura">Bananas</li>
<li style="font-family:Futura">Climbing stuff</li>
<li style="font-family:Futura">HTML</li>
</ul>
</li>
<li><p style="color:red">Jobs</p>
<ol>
<li style="font-family:Futura">Giant ape</li>
<li style="font-family:Futura">Web developer</li>
</ol>
</li>
<li><p style="color:red">Where I Went to School</p>
<ol>
<li style="font-family:Futura">Diddy Kong Jr. High School</li>
<li style="font-family:Futura">Donkey Kong Sr. High School</li>
<li style="font-family:Futura">Harvard University (BA)</li>
<li style="font-size:18px; font-family:Futura">Yale University (JD) (Current)</li>
</ol>
</li>
<li><p style="color:red">Favorite Quotes</p>
<ul>
<li style="font-family:Futura">"If at first you don't succeed, climb a giant building."</li>
<li style="font-family:Futura">"A banana in the hand is worth two on the tree."</li>
</ul>
</li>
</ul>
</body>
</html>
Have you ever seen your page on a social networking site load really slowly, then come through with only the HTML skeleton? (If not, it looks like this. Crazy, right?)
Under its fancy skin, a social networking profile is just a list of text, images, and links. And you know all about those!
We've set up your profile page with the basics, but the details are up to you. First off, let's make this page about you!
Instructions
Put your name between the tags.
Put a picture of yourself (or anything you like!) between the tags. If you can't think of a good picture, use this ninja:
Now that you have your profile sections set up, it's time to add in your favorite things!
You can do this by creating additional lists within your unordered list's
Within the
Instructions
Go nuts with your lists within lists! The only requirement is that you have at least one ordered list(
Click "Stuck? Get a hint!" for more examples.
Great work! Just one more thing before you can call your profile complete: you've got to add just the right number of emphasized and strong words.
Instructions
How many you use is up to you, but you should use and at least once each! Once you do, hit Save & Submit Code to finish the exercise and bask in the glory of your newly created profile.
<!DOCTYPE html>
<html>
<head>
<title>Sarah</title>
</head>
<body>
<img src="http://7xinhd.com1.z0.glb.clouddn.com/p2224944109.jpg"/>
<p>
name:sarah
gender:f
hometown:china
</p>
<ul>
<li style="color:blue">Interests
<ol>
<em><li>ee</li></em>
<li>ww</li>
<li>qq</li>
</ol>
</li>
<li>Jobs</li>
<li style="font-family:Futura">Favorite Quotes
<ul>
<listyle="font-size:20px">ee</li>
<strong><li>eye</li></strong>
<li>ete</li>
<ul>
</li>
<li>Where I've Lived</li>
</ul>
</body>
</html>