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.
1 2 3 4 5 6 7 8 9 10 11 12 |
<!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.
HTML5 Tutorial Index
HTML Tutorial
- HTML Tutorial
- HTML Text Editors
- HTML Tags
- HTML Basic Tags
- HTML Attributes
- HTML Elements
- HTML Formatting
- HTML Text Format
- HTML Heading
- HTML Paragraph
- HTML Anchor
- HTML Phrase Tags
- HTML Image
- HTML Table
- HTML Lists
- HTML Ordered List
- HTML Unordered List
- HTML Description
- HTML Form
- HTML Form input
- HTML From Attribute
- HTML with CSS
- HTML Classes
- HTML id Attribute
- HTML Comments
- HTML Layouts
- HTML Entities
- HTML References
- HTML Frames
- HTML Links
HTML5 Advance
- HTML5 Tutorial
- HTML5 Tags
- HTML <Article >Tag
- HTML <Bold> Tag
- HTML<Button>Tag
- HTML <canvas> Tag
- HTML<caption> Tag
- HTML <city> Tag
- HTML <Data> Tag
- HTML5 New Elements
- HTML5 SVG
- HTML Event Attribute
- HTML5 Semantics
- HTML5 Migration
- HTML5 Audio
- HTML5 Video
- HTML5 Youtube