<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>NETFLIX - CLONE</title> <link rel="stylesheet" href="style.css" /> <link rel="shortcut icon" href="./Icons/nficon2023.ico" type="image/x-icon" /> <!-- Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;--> </head> <body> <header> <div class="box-1"> <div class="navContainer"> <div> <a href="index.html"> <img id="logo" src="Images/logo.png" /> </a> </div> <div id="nav-2"> <div class="selectLang"> <img class="langIcon" src="Icons/translate.png" /> <p>English</p> <img class="langIcon" src="./Icons/arrow-down-sign-to-navigate.png" alt="selectlanguage" /> </div> <div id="signDiv"> <button class="signIn"> <p>Sign In</p> </button> </div> </div> </div> <main> <div class="main-container"> <h1>Unlimited movies, TV shows and more</h1> <p id="mainContent-1">Watch anywhere. Cancel anytime.</p> <div class="mainContent-email"> <p class="mainContent-2"> Ready to watch? Enter your email to create or restart your membership. </p> <div class="mainContainer-3"> <input class="logging" placeholder="Email address" type="email" /> <button class="getStarted"> <div class="getStarted-sign"> <p class="getStarted-para">Get Started</p> <img class="startedIcon" src="Icons/right-arrow.png" /> </div> </button> </div> </div> </div> </main> </div> </header> <div id="page-2"> <h1>Enjoy on your TV</h1> <p> Watch on smart TVs, Playstations, Xbox, Chromecast, Apple TV, Blu-ray players and more. </p> <video width="600" height="600" poster="Images/tv.png" muted autoplay loop > <source id="vid-src-1" src="Videos/video-tv-in-0819.m4v" type="video/mp4" /> </video> </div> <div id="page-3"> <h1>Download your shows to watch offline</h1> <p class="p4"> Save your favourites easily and always have something to watch. </p> <div class="page3-content"> <img src="Images/mobile-0819.jpg" alt="stranger-Things" /> <div class="phoneBox-main"> <img src="Images/boxshot.png" alt="Stranger Things" /> <div class="phoneBox-2"> <p class="p1">Stranger Things</p> <p class="p2">Downloading...</p> </div> <img id="gif" src="Videos/download-icon.gif" /> </div> </div> </div> <div id="page-4"> <h1>Watch everywhere</h1> <p> Stream unlimited movies and TV shows on your phone, tablet, laptop, and TV. </p> <video width="600" height="600" poster="Images/device-pile-in.png" muted autoplay loop > <source id="vid-src" src="Videos/video-devices-in.m4v" type="video/mp4" /> </video> </div> <!-- PAGE-5 --> <div id="page-5"> <h1>Create profiles for kids</h1> <p> Send children on adventures with their favorite characters in a space made just for them--free with your membership. </p> <img src="Images/AAAABVr8nYuAg0xDpXDv0VI9HUoH7r2aGp4TKRCsKNQrMwxzTtr-NlwOHeS8bCI2oeZddmu3nMYr3j9MjYhHyjBASb1FaOGYZNYvPBCL.png" /> </div> <!-- PAGE-6 --> <div id="page-6"> <h1>Frequently Asked Questions</h1> <button class="shortHand-btn"> <div class="shortHand"> <span class="question">What is Netflix?</span> <span class="plusSign">+</span> </div> </button> <!-- <div class="extra">--> <!-- <p>Netflix is a streaming service that offers a wide variety of award-winning TV shows, movies, anime, documentaries and more – on thousands of internet-connected devices</p>--> <!-- <p>You can watch as much as you want, whenever you want, without a single ad – all for one low monthly price. There's always something new to discover, and new TV shows and movies are added every week!</p>--> <!-- </div>--> <button class="shortHand-btn"> <div class="shortHand"> <span class="question">How much does Netflix cost?</span> <span class="plusSign">+</span> </div> </button> <button class="shortHand-btn"> <div class="shortHand"> <span class="question">Where can I watch?</span> <span class="plusSign">+</span> </div> </button> <button class="shortHand-btn"> <div class="shortHand"> <span class="question">How do I cancel?</span> <span class="plusSign">+</span> </div> </button> <button class="shortHand-btn"> <div class="shortHand"> <span class="question">What can I watch on netflix?</span> <span class="plusSign">+</span> </div> </button> <button class="shortHand-btn"> <div class="shortHand"> <span class="question">Is Netflix good for kids?</span> <span class="plusSign">+</span> </div> </button> <!-- GET STARTED - EMAIL LOGIN --> <div class="mainContent-email last"> <p class="mainContent-2"> Ready to watch? Enter your email to create or restart your membership. </p> <div class="mainContainer-3"> <input class="logging" placeholder="Email address" type="email" /> <button class="getStarted"> <div class="getStarted-sign"> <p class="getStarted-para">Get Started</p> <img class="startedIcon" src="Icons/right-arrow.png" /> </div> </button> </div> </div> </div> <!-- FOOTER --> <div class="footer" id="footerNetflix"> <p style="margin-bottom: 16px"> Questions? Call <a href="#" target="_blank">000-800-919-1694</a> </p> <div class="maindiv"> <div class="footerColumn-1"> <a href="#">FAQ</a> <a href="#">Account</a> <a href="#">Investor Relations</a> <a href="#">Ways to Watch</a> <a href="#">Privacy</a> <a href="#">Corporate Information</a> <a href="#">Speed Test</a> <a href="#" style="margin-bottom: 20px">Only on Netflix</a> </div> <div class="footerColumn-2"> <a class="secondOne" href="#">Help Centre</a> <a class="secondOne" href="#">Media Centre</a> <a class="secondOne" href="#">Terms of use</a> <a class="secondOne" href="#">Jobs</a> <a class="secondOne" href="#">Cookie Preferences</a> <a class="secondOne" href="#">Contact Us</a> <a class="secondOne" href="#">Legal Notices</a> </div> </div> <div id="foot-2"> <div class="selectLang"> <img class="langIcon" src="Icons/translate.png" /> <p>English</p> <img class="langIcon" src="./Icons/arrow-down-sign-to-navigate.png" alt="selectlanguage" /> </div> </div> <p id="lastLine">Netflix India</p> </div> </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>