Problem In this homework you will create a single, self-contained web page using
ID: 3741891 • Letter: P
Question
Problem
In this homework you will create a single, self-contained web page using a text editor like brackets. All style definitions should be provided in the header of the webpage.
Resource: https://www.w3schools.com/
The page will contain information about you: [ 4 points]
Your Name
Your Interests and description of the each interest for people who may not be familiar with it.
Your Major and why you selected that major.
What would you would like to do in the future if resources were not an issue.
The page layout should be done using <div> tags
You should use at least two styles: one for the heading and the general text. [2 points]. Define the styles inside the header and not in the body [1 point]
It should have at least one image (not necessarily of you) [1 point]
Should have at least two different colors. [ 1 point]
No need to use any javascript or sophisticated frameworks.
All tags should be used correctly [1 point]
Explanation / Answer
<!DOCTYPE html>
<html>
<head>
<title>Webpage</title>
<style>
div
{
font-family:sans-serif;
}
i
{
color:blue;
font-size:30px;
}
h2
{
color:red;
font-size:30px;
}
</style>
</head>
<body>
<div>
<h1><u>My Info</u></h1>
<b>My Name is </b><i>Van Helsing.....</i>
<h2>My Interests are:</h2>
<div>
<ul>
<li>Watching Movies</li>
<li>Listening Music</li>
<li>Playing Games</li>
<li>Doing coding</li>
</ul>
</div>
<h2>My Major is: </h2><i>Machine Learning</i>
<h2>Why Machine Learning?</h2><i>Because it is interesting</i>
<h2>What would you would like to do in the future if resources were not an issue?</h2><i>Simple i use the resources like i want</i>
<br><img src="./a.jpg" alt="Image">
</div>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.