<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>iPhone X</title> </head> <body> <h1>iPhone X</h1> <p>The iPhone X is the latest smartphone from Apple. It features a new design with an edge-to-edge display, a powerful A11 Bionic chip, and a new facial recognition system called Face ID.</p> <h2>Features</h2> <ul> <li>5.8-inch Super Retina OLED display</li> <li>A11 Bionic chip</li> <li>Face ID facial recognition system</li> <li>Dual 12-megapixel rear cameras</li> <li>7-megapixel front-facing camera</li> <li>Wireless charging</li> <li>iOS 11 operating system</li> </ul> <h2>Specs</h2> <ul> <li>Screen: 5.8-inch Super Retina OLED display</li> <li>Processor: A11 Bionic chip</li> <li>RAM: 3GB</li> <li>Storage: 64GB, 256GB, or 512GB</li> <li>Battery: 2,715 mAh</li> <li>Operating system: iOS 11</li> </ul> <h2>Review</h2> <p>The iPhone X is a great smartphone with a lot to offer. It has a beautiful display, a powerful processor, and a new facial recognition system that is very secure. The iPhone X is also water resistant and has wireless charging.</p> <p>However, the iPhone X is also very expensive. It starts at $999, which is more than some people are willing to pay for a smartphone.</p> <h2>Where to buy</h2> <p>The iPhone X is available for purchase from Apple and other authorized retailers.</p> <h2>How to use</h2> <p>The iPhone X is very easy to use. It has a familiar interface that is similar to other iPhones. The new facial recognition system, Face ID, is also very easy to use.</p> <h2>Troubleshooting</h2> <p>If you are having problems with your iPhone X, you can visit the Apple website for troubleshooting tips.</p> </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>