HTML Tutorial

HTML Tutorial

This HTML tutorial helps beginners and professionals to learn HTML easily.

HTML is a widely used web technology for website development. It stands for Hyper Text Markup Language. It is mainly used to create web pages which are static in nature.

What is HTML

HTML stands for Hypertext Markup Language. It is created for designing Web Pages and Web application. To increase its efficiency it is embedded with many languages such as CSS (Cascading Style Sheets), JavaScript etc.

  • Hypertext: It describes the way according to which all the HTML documents (Web Pages) are linked together. Therefore, the link available is known as Hypertext.
  • Markup Language: It means to simply “mark-up” a text document with tags which informs the browser “How to structure it to display”.
  • HTML consists of different elements which is considered as the building blocks of HTML pages.
  • Its elements are represented by tags.
  • Browser does not shows tags but shows all the text formatted in the tags.
  • HTML does not shows any error.

HTML Example with Online Editor

We have given online editor option with each HTML example. So, you can edit any example and see the changed output.

<!DOCTYPE html>
<html>
<head>
<title>Web Page Title</title>
</head>
<body>
<h1>Heading of web page</h1>
<p>My first paragraph</p>
</body>
</html>

Explanation

  • <!DOCTYPE html>: It describe the type which is doc and Html version.
  • <html>: This tag encloses all the html document which includes tags as well as text.
  • <head>: This tag represents the document header and can have different tags embedded within such as <title>, <link>, <script> etc.
  • <title>: It specifies the title for the document and it is used inside <head> tag.
  • <body>: All the text of web page is written inside this tag having other html tags inside for better presentation. E.g. <h1>, <p>, <a>, <div> etc.
  • <h1>: This tag represent the heading and 1 represent the size (h1 is the max size).
  • <p>: It is a paragraph tag where text wrap in it is in paragraph form.

HTML Tutorial Index

HTML5 Advance

Misc

  • HTML Color Codes
  • HTML Background Image
  • HTML Comments
  • Blink HTML
  • Div Tag in HTML
  • Span Tag in HTML
  • How to insert Image in HTML
  • HTML Button
  • HTML Checkbox
  • HTML Radio Button
  • HTML Textarea
  • HTML Select
  • HTML Input Types
  • HTML Editors
  • HTML Programs
  • HTML Dropdown
  • HTML Tags List
  • Marquee Tag in HTML
  • Meta Tag in HTML
  • Uses of HTML
  • Doctype HTML
  • HTML Basics
  • HTML Space
  • Iframe HTML
  • BR Tag in HTML
  • HR Tag in HTML
  • Difference between HTML and XML
  • HTML Code
  • HTML Entities
  • HTML Header Tag
  • HTML Footer Tag
  • HTML Navigation Bar
  • HTML Structure
  • HTML Table Border
  • HTML Video Tag
  • HTML Audio Tag
  • Registration Form in HTML
  • Login Form in HTML
  • HTML Font
  • HTML Font Size
  • HTML Font Color
  • HTML Label
  • HTML Link Tag
  • HTML Text Color
  • Colspan HTML
  • Rowspan HTML
  • HTML Canvas
  • HTML Padding
  • HTML Tooltip
  • Mailto HTML
  • Pre Tag in HTML
  • &nbsp in HTML
  • Difference between HTML and HTML 5
  • Em Tag in HTML
  • Formatting Tags in HTML
  • How to add background color in HTML
  • How to comment in HTML
  • HTML align center
  • HTML bold tag
  • HTML i tag
  • HTML button link
  • HTML Color Names
  • HTML Line Break
  • HTML Slider
  • HTML Underline Tag
  • How to Link CSS to HTML
  • UL tag in HTML
  • Image Map in HTML
  • Copyright Symbol in HTML
  • Favicon HTML
  • HTML Datalist

Interview Questions

  • HTML Interview Questions
  • HTML and CSS Interview Questions



ADVERTISEMENT
ADVERTISEMENT