<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="styles.css"> <title>Netflix</title> </head> <body> <header class="showcase"> <div class="showcase-top"> <img src="logo.png" alt="Netflix Logo"> <a href="#" class="btn btn-rounded">Sign In</a> </div> <div class="showcase-content"> <h1>Unlimited movies, TV shows and more.</h1> <h3>All of Netflix, starting at just ₹ 199.</h3> <p>Ready to watch? Enter your email to create or restart your membership.</p> <input type="email" name="email" id="mail" placeholder="Email address"> <a href="#" class="btn btn-lg">GET STARTED ></a> </div> </header> <section class="style-cards"> <div class="card-0"> <img src="2.jpg" alt="Netflix Mobile"> <div class="desc-0"> <h1>Create profiles for kids.</h1> <h3>Send kids on adventures with their favourite characters in a space made just for them—free with your membership.</h3> </div> </div> <div class="card-1"> <div class="desc-1"> <h1>Enjoy on your TV.</h1> <h3>Watch on smart TVs, PlayStation, Xbox, Chromecast, Apple TV, Blu-ray players and more.</h3> </div> <img src="tv.png" alt="Netflix TV"> <video class="video-1" autoplay="" playsinline="" muted="" loop=""><source src="1.m4v" type="video/mp4"></video> </div> <div class="card-2"> <img src="3.jpg" alt="Netflix Mobile"> <div class="desc-2"> <h1>Download your shows to watch offline.</h1> <h3>Save your favourites easily and always have something to watch.</h3> </div> </div> <div class="card-3"> <div class="desc-3"> <h1>Watch everywhere.</h1> <h3>Stream unlimited movies and TV shows on your phone, tablet, laptop, and TV.</h3> </div> <img src="4.png" alt="Device-Pile-In"> <video class="video-2" autoplay="" playsinline="" muted="" loop=""><source src="2.m4v" type="video/mp4"></video> </div> </section> <section class="lastsec"> <div class="faq"> <h1>Frequently Asked Questions</h1> <ul class="questions"> <li>What is Netflix?</li> <li>How much does Netflix cost?</li> <li>Where can I watch?</li> <li>How do I cancel?</li> <li>What can I watch on Netflix?</li> <li>Is Netflix good for kids?</li> </ul> <p>Ready to watch? Enter your email to create or restart your membership.</p> <div class="input"> <input type="email" name="email" placeholder="Email Address"> <a href="#" class="btn-rounded"><button>GET STARTED ></button></a> </div> </div> </section> <footer class="footer"> <p>Questions? Call 000-800-040-1843</p> <div class="footer-cols"> <ul> <li><a href="#">FAQ</a></li> <li><a href="#">Investor Relations</a></li> <li><a href="#">Privacy</a></li> <li><a href="#">Speed Test</a></li> </ul> <ul> <li><a href="#">Help Centre</a></li> <li><a href="#">Jobs</a></li> <li><a href="#">Cookie Preferences</a></li> <li><a href="#">Watch for Free</a></li> </ul> <ul> <li><a href="#">Account</a></li> <li><a href="#">Ways to Watch</a></li> <li><a href="#">Corporate Information</a></li> <li><a href="#">Legal Notices</a></li> </ul> <ul> <li><a href="#">Media Centre</a></li> <li><a href="#">Terms of Use</a></li> <li><a href="#">Contact Us</a></li> <li><a href="#">Netflix Originals</a></li> </ul> </div> </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>