#### HTML and CSS Code for Sports Information
Here's a simple HTML code with CSS to display information about sports:
HTML:
html
Sports Information
Welcome to the World of Sports
**Sports** are an essential part of a healthy lifestyle. They promote physical fitness, teamwork, and mental well-being.
Popular Sports
Football
Basketball
Tennis
Golf
CSS (styles.css):
css
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
}
h1 {
color: #333;
}
.sport-info {
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
ul {
list-style: none;
padding: 0;
}
li {
margin: 5px 0;
font-weight: bold;
}
JavaScript (script.js):
javascript
// Interactive functionality can be added here
This code provides a basic structure for displaying information about sports, including popular sports and a brief introduction. The CSS styles the content to make it visually appealing, and JavaScript can be added for interactive functionality.