<!DOCTYPE html> <html> <head> <!-- New Perspectives on HTML5 and CSS3, 7th Edition Tutorial 3 Case Problem 1 Slate & Pencil Home Page Author: Steven Tran Date: 3/10/2020 Filename: sp_home.html --> <meta charset="utf-8" /> <title>Slate & Pencil Tutoring</title> <link href="sp_base.css" rel="stylesheet" /> <link href="sp_styles.css" rel="stylesheet" /> <link href="sp_layout.css" rel="stylesheet" /> </head> <body> <header class="row"> <img src="sp_logo.png" alt="Slate & Pencil Tutoring" /> <nav> <ul> <li><a href="#">Home</a></li> <li><a href="#">Our Tutors</a></li> <li><a href="#">Pricing</a></li> <li><a href="#">Testimonials</a></li> <li><a href="#">Your Account</a></li> <li><a href="#">Chat Online</a></li> </ul> </nav> </header> <nav class="horizontal"> <ul class="row"> <li><a href="#">Math</a></li> <li><a href="#">Science</a></li> <li><a href="#">English</a></li> <li><a href="#">Languages</a></li> <li><a href="#">History</a></li> <li><a href="#">Sociology</a></li> <li><a href="#">Art</a></li> <li><a href="#">Other</a></li> </ul> </nav> <ul id="topics" class="row"> <li> <img src="sp_topic1.png" alt="" /> <p> Our tutors have advanced degrees, supplemented with real-world experience to help you meet your education goals. </p> </li> <li> <img src="sp_topic2.png" alt="" /> <p> Every session is just you and your instructor and there is always someone online to help you. 24/7. </p> </li> <li> <img src="sp_topic3.png" alt="" /> <p> We cover it all: From from Biochemistry to Beethoven. We can also help you prep for the ACT, SAT, and AP exams. </p> </li> <li> <img src="sp_topic4.png" alt="" /> <p> We keep our prices low. Sign up for one-time assistance or enroll for a full semester at greatly reduced rates. </p> </li> </ul> <hr /> <ul id="comments"> <li> <img src="sp_student1.png" alt="" /> <p> “Thanks to <em>Slate & Pencil</em> I passed AP Calculus with a 5.”<br /> <br /> — Kevin, 12th Grade, Utah </p> </li> <li> <img src="sp_student2.png" alt="" /> <p> “I use <em>Slate & Pencil</em> all of the time to supplement my lectures and course notes.”<br /> <br /> — Paul, 12th Grade, Texas </p> </li> <li> <img src="sp_student3.png" alt="" /> <p> “I'm making the honor roll for the first time thanks to your wonderful service and help!”<br /> <br /> — Lisa, 11th Grade, Florida </p> </li> <li> <img src="sp_student4.png" alt="" /> <p> “Geometry is a breeze after working online with your great tutors and review materials.”<br /> <br /> — Karen, 9th Grade, Nebraska </p> </li> <li> <img src="sp_student5.png" alt="" /> <p> “I've seen a great improvement in my use of study time and I retain more than ever before.”<br /> <br /> — Gianna, 10th Grade, Vermont </p> </li> <li> <img src="sp_student6.png" alt="" /> <p> “After using <em>Slate & Pencil</em>, my SAT and ACT scores went through the roof!!!”<br /> <br /> — Todd, 11th Grade, Illinois </p> </li> </ul> <footer> Slate & Pencil Tutoring; © 2017 All Rights Reserved </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>