- HTML Basics
- HTML Home
- HTML Basics
- HTML Document Structure
- HTML Data Types
- HTML Attributes
- HTML Fonts
- HTML Headings
- HTML Character Entities
- HTML Horizontal Line
- HTML Line Break
- HTML Paragraph
- HTML Citation Definition
- HTML Quotations
- HTML Comments
- HTML Styles
- HTML Formatting
- HTML CSS
- HTML Tags
- HTML Basic Tags
- HTML All Tags
- HTML Root Tags
- HTML Metadata Tags
- HTML Section Tags
- HTML Head Heading Tags
- HTML Flow Tags
- HTML Phrasing Tags
- HTML Embedded Tags
- HTML Interactive Tags
- HTML Meta Tags
- HTML Texts
- HTML Text Formatting
- HTML Physical Style Text
- HTML Logical Style Text
- HTML Organizing Text
- HTML Arranging Text
- HTML Displaying Lists
- HTML List
- HTML Links Tables
- HTML Links URLs
- HTML Links
- HTML URL Encode
- HTML Tables
- HTML Images Colors
- HTML Images Colors
- HTML Images
- HTML Color Codes
- HTML Canvas
- HTML Backgrounds
- HTML Forms
- HTML Forms
- HTML Form Tag
- HTML Input Tag
- HTML Button Tag
- HTML Multiple-Choice
- HTML Select Tag
- HTML Option Tag
- HTML Optgroup Tag
- HTML Textarea Label
- HTML Fieldset Legend
- HTML Datalist Tag
- HTML Keygen Tag
- HTML Output Tag
- HTML Progress Tag
- HTML Meter Tag
- HTML Submit Form
- HTML enctype Attribute
- HTML action Attribute
- HTML Method Attribute
- HTML Get Method
- HTML Post Method
- HTML Interactive
- HTML Interactive Web
- HTML Details Summary
- HTML Menu Tag
- HTML Command Tag
- HTML KBD Tag
- HTML Time Tag
- HTML Multimedia
- HTML Multimedia
- HTML Multimedia Tags
- HTML Audio Video
- HTML Embedded Multimedia
- HTML EMBED Tag
- HTML OBJECT Tag
- HTML FIGURE FIGCAPTION
- HTML Advance
- HTML Blocks
- HTML Classes
- HTML Iframes
- HTML JavaScript
- HTML Layouts
- HTML Responsive
- HTML Test
- HTML Online Test
- Give Online Test
- All Test List
HTML Basics
Hypertext Markup Language (HTML) is one of the most commonly used language to design and develop web pages. To create a web page using HTML, you must have to be familiar with the HTML basics.
So learn HTML basics such as tags and the content embedded within the HTML tags, attributes and the data types.
HTML tags instruct the web browser about how it should interpret the document. The attributes of the tag provide the additional information such as its behaviour and properties. The content is displayed on the browser according to the properties and behaviours defined by the tag and the attributes.
HTML tags can be categorized into following parts depending upon the behaviour that they display on the web page:
- root - contains the main tag of the HTML
- metadata - contains tags that define the behaviour of the entire HTML document
- section - contains tags that are used to represent various sections of the HTML document
- heading - contains tags that represent headings in the HTML document
- flow - contains tags that are used in the BODY tag of an HTML document to define the structure of the document
- phrasing - contains tags that are used to display text of an HTML document
- embedded - contains tags that are used to embed content in the HTML document
- interactive - contains tags that are used for the user interactivities
HTML Basics Example
Here are some HTML Basics example that you can go for:
<!DOCTYPE HTML> <html> <head> <title>This is Title</title> </head> <body> <h1>This is main heading</h1> <p>This is a paragraph.</p> <h2>This is sub-heading</h2> <p>This is also a paragraph</p> </body> </html>
Write the above HTML code in your text editor (notepad or other) and save it along with .html extension. Now open the saved file in your browser, it will looks like this:

Here is one more HTML basic example
<!DOCTYPE HTML> <html> <head> <title>HTML Basics Tutorial Example</title> </head> <body> <h1>HTML Basics</h1> <p>This is HTML Basic Tutorial</p> <h2>HTML Basics Example</h2> <p>This is HTML Basic Example</p> </body> </html>
Here is the output of the above HTML code:

« Previous Tutorial Next Tutorial »