<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Creovator - Empowering Learning</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Arial, sans-serif; background-color: #f4f4f4; color: #333; } header { background-color: #003366; color: white; padding: 10px 20px; text-align: center; } header nav ul { list-style-type: none; } header nav ul li { display: inline; margin: 0 15px; } header nav ul li a { color: white; text-decoration: none; } .hero { background: #003366; color: white; text-align: center; padding: 100px 20px; } .hero h1 { font-size: 3em; } .cta-button { background-color: #ffcc00; color: black; padding: 15px 30px; text-decoration: none; font-weight: bold; border-radius: 5px; margin-top: 20px; display: inline-block; } .features { display: flex; justify-content: center; padding: 50px 20px; gap: 30px; } .feature-item { text-align: center; max-width: 300px; } .testimonials { background-color: #e0e0e0; text-align: center; padding: 40px 20px; } .testimonial { margin-bottom: 20px; font-style: italic; } footer { background-color: #800080; color: white; padding: 20px; text-align: center; } footer a { color: #ffd700; text-decoration: none; margin: 0 5px; } footer a:hover { text-decoration: underline; } </style> </head> <body> <!-- Header Section --> <header> <nav> <ul> <li><a href="#">Home</a></li> <li><a href="#">Courses</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Login</a></li> </ul> </nav> </header> <!-- Hero Section --> <section class="hero"> <h1>Welcome to Creovator</h1> <p>Let's create your future with creovator</p> <a href="#" class="cta-button">Start Learning</a> </section> <!-- Features Section --> <section class="features"> <h2>Why Choose Creovator?</h2> <div class="feature-item"> <h3>Expert Instructors</h3> <p>Learn from industry leaders and experienced professionals at minimal wage.</p> </div> <div class="feature-item"> <h3>Interactive Learning</h3> <p>Engage in hands-on activities to master skills effectively and effortlessely.</p> </div> <div class="feature-item"> <h3>Flexible Schedule</h3> <p>Learn at your own pace, anytime, anywhere.</p> </div> </section> <!-- Testimonials Section --> <section class="testimonials"> <h2>What Our Learners Say</h2> <div class="testimonial"> <p>"Creovator transformed the way I learn. The courses are so engaging!" - Alex</p> </div> <div class="testimonial"> <p>"I found the perfect course to help me advance in my career." - Taylor</p> </div> </section> <!-- Footer Section --> <footer> <p>© 2025 Creovator. All Rights Reserved.</p> <p>Follow us: <a href="#">Facebook</a> | <a href="#">Twitter</a> | <a href="#">Instagram</a></p> </footer> </body> </html>
Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML
. You can also specify the stylesheet information in styles.css
tab and scripts information in scripts.js
tab and start coding.
HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.
<!DOCTYPE html>
<html>
and ends with </html>
<h1>
to <h6>
where <h1>
is the highest important heading and <h6>
is the least important sub-heading.<p>..</p>
tag.<a>
tag.
<a href="https://onecompiler.com/html">HTML online compiler</a>
<img>
tag, where src
attribute consists of image name.<button>..</button>
tag<ul>
for unordered/bullet list and <ol>
for ordered/number list, and the list items are defined in <li>
.<a href="https://onecompiler.com/html">HTML online compiler</a>
CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.
Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.
body{
padding: 25px;
}
.title {
color: #228B22;
font-family: Candara;
}
<table>
tag.<tr>
tag<th>
tag<td>
tag<caption>
tag<script>
is the tag used to write scripts in HTML<script src="script.js"></script>