Profile Picture
Part of the Fundamentals section of Coddy's HTML journey — lesson 32 of 60.
Challenge
EasyAlright, it’s time to add the profile picture! You can use any image you like. Feel free to use the link from the example below.
- After the first div (the header section), create another
<div>. Inside it, add an<img>tag. - Set the
srcto link to your image, and use thewidthandheightattributes to control its size.
For example:
src-https://storage.googleapis.com/coddy-15505.appspot.com/public/avatars/avatar25.pngwidth- 200height- 200"
Try it yourself
<!DOCTYPE html>
<html>
<body>
<!-- Header Section -->
<div>
<h1>John Doe</h1>
<p>Web Developer | Creative Thinker</p>
</div>
</body>
</html>All lessons in Fundamentals
2Text and Formatting
HeadingsParagraphsLine BreaksBold and Italic TextBold and Italic AgainRecap - Formatting8Forms and Inputs Part 1
Form BasicsText InputsInput AttributesPassword FieldLabels for InputsRecap - Basic Form11Event Registration Page
Project OverviewHeader Section9Forms and Inputs Part 2
Radio ButtonsCheckboxesDropdownsButtonsButtons in FormsRecap - Forms #1Recap - Forms #2