body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
main {
padding: 20px;
}
section {
margin-bottom: 40px;
}
h1, h2 {
color: #333;
}
form label {
display: block;
margin-bottom: 5px;
}
form input, form textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
}
form button {
background-color: #333;
color: #fff;
padding: 10px 20px;
border: none;
cursor: pointer;
}
footer {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
This code provides a basic structure for a business web page with a navigation menu, sections for home, about, services, and a contact form. The CSS styles the page with a simple layout and color scheme.
Feel free to customize and expand upon this code to fit your specific business needs and design preferences.