Beruflich Dokumente
Kultur Dokumente
Form: 9
Review questions:
Look at each of the questions below relating to your program and complete your answers in
the text
1:
Explain the difference between how HTML and CSS are used in creating a web
page.
HTML is responsible for the content relating to the videos images and text and
putting it together to form a web page while CSS is responsible for the colors, fonts, styles
and design.
2:
The div tag is used to divide your content into a separate container and make your
make look neater.
3:
Complete the code below to add CSS to make the background of the web page
orange.
<html>
<head>
background-color:orange;
</head>
<body>
<p>Welcome to the CSS guide</p>
</body>
</html>
4:
Responsive design is a type of design which provides flexible layouts and images
with the goal building web pages that detect the users screen and change the layout
accordingly.
5:
How would you change this line of HTML code to make it responsive?
<img src=moon.jpg width=750px>
<img src=moon.jpg style=100%>
1
6:
7:
1. Provides an easier use of the basics for people who are just starting out.
2. Saves time, keeping you away from starting with a blank sheet.
8:
Where does the data you enter into a web form go and how might it be used?
The information is delivered to the people who are responsible for the creation of the
form and is used to collect data,
Assessment
Basic
Intermediate
Advanced
Expert
I have specified a
width for my web
page and images
Evidence of my website:
Insert a screenshot using ALT + Print Scrn of your home page below:
Copy and Paste in the source code for your home page below:
<!DOCTYPE html>
<html>
<head>
<style> /*CSS Style definitions start here*/
#container /*Styles for Container*/
{
width:100%;
margin: auto; /*Centres the main container*/
max-width: 1100px;
border:3px #FF1493;
background-color: #7BCAE1;
}
#banner
{
padding:0;
margin:0;
}
#navbar
{
float:left; /*Moves the container to the left*/
width:160px;
margin:0;
padding:15px;
}
{color: #2E0854;}
</style>
</head>
</nav>
</p>
</div>
</div>
</body>
</html>