How do I mack a backround ?
Page 1 of 1
How do I mack a backround ?
Hello I made my first web site, but I notice that the backround is a plain white page and I want to put color to it or put a backround.Can u pleas help me.
Re: How do I mack a backround ?
Hey Sam,You should do this with CSS. In you HTML file place the bold code in between your <head></head> tags.
<!DOCTYPE html>
<html>
<head>
<title>
Your page
</title>
<style>
body {
background-color:blue;
}
</style>
</head>
<body>
<!-- Content -->
</body>
</html>
--
~Chris
~Chris
Re: How do I mack a backround ?
Thx that took me a second to change.Sorry for posting simple questions :P.
Ill save my next posts for harder questions.
Re: How do I mack a backround ?
It's fine and your welcome!Check the CSS tutorial to learn more about styling your HTML page.
--
~Chris
~Chris
Re: How do I mack a backround ?
chrisf1288 wrote:Hey Sam,
You should do this with CSS. In you HTML file place the bold code in between your <head></head> tags.
<!DOCTYPE html>
<html>
<head>
<title>
Your page
</title>
<style>
body {
background-color:blue;
}
</style>
</head>
<body>
<!-- Content -->
</body>
</html>
This is satisfying answer even i tried it in mine query and it also worked for me.
Page 1 of 1