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 notes
HTML notes
1. Introduction to HTML:
• HTML (HyperText Markup Language) is the fundamental building block for web
development.
• HTML is not a programming language but a markup language that defines the structure
of web pages using various elements or tags.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
</body>
</html>
• Headings: Tags like <h1>, <h2>, ..., <h6> represent headings. <h1> is the largest and
most important heading, while <h6> is the smallest.
• Lists:
o Ordered List (<ol>) also uses <li> but numbers the items.
4. Forms:
</form>
5. Semantic HTML:
• Semantic elements are used to convey the meaning of content to both the browser and
the developer. Examples include: