html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
HTML Basics
HTML Basics
What is HTML?
HTML (HyperText Markup Language) is the standard markup language for creating web pages and
web applications. It describes the structure of a web page using elements represented by tags.
HTML Structure
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Attributes
Attributes provide additional information about an element. They are defined in the opening tag and
Example:
Lists
HTML provides two types of lists:
Example:
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
Tables
Tables are used to display data in rows and columns.
Example:
<table>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</table>
Forms
Forms are used to collect user input.
Example:
<form action='/submit'>
<label for='name'>Name:</label>
</form>