HTMLs Tutorial

HTML Tutorial HTML Tags HTML Basic Tags HTML Attributes HTML Elements HTML Formatting HTML Text Format HTML body tag HTML samp tag HTML script Tag HTML section tag HTML select tag HTML source tag HTML span tag HTML strike tag HTML strong tag HTML style tag HTML sub tag HTML summary tag HTML sup Tag HTML svg tag HTML table tag HTML u tag HTML Headings HTML Paragraphs HTML wbr tag HTML Anchor HTML Image HTML Lists HTML Ordered List HTML Unordered List HTML Form HTML Form input HTML with CSS HTML Layouts HTML References HTML Frames HTML Links Fieldset Tag in HTML Basic HTML Tags Br Tag in HTML Free HTML Templates How to Create a Table in HTML HTML Calendar HTML Card HTML Cellspacing HTML Center Image HTML Checkbox Read-only HTML Cleaner HTML Code for a Tab HTML Comment HTML Compiler HTML Nested Forms HTML Overlay Text on the Image HTML Select Option Default HTML Snake Game HTML Subheader HTML Tab Character dd Tag in HTML How Many HTML Tags are There HTML Align Tag HTML Responsive HTML Tab Code HTML Table Alternate Row Color HTML Table Fix Column Width Contact HTML DL Tag in HTML How to Insert Image in HTML HTML Background Color HTML Dark Mode How to Convert HTML to PNG HTML Data Toggle HTML Email Template HTML Font Color HTML Font Family ID and Class in HTML HTML Tab Space HTML Tab Tag HTML Itemprop HTML Itemscope HTML Form Design HTML Input Only Numbers HTML Textarea HTML to JPG HTML to Markdown Python li Tag in HTML MDN HTML What is the Correct HTML for Making a Hyperlink? What is the Root Element of an HTML Document How to Make a Box in HTML How to Save HTML Files in Notepad How to Align Text in HTML How to Change Font Color in HTML? How to Change Font Size in HTML How to Change Image Size in HTML How to Create a HTML Page How to Create a Link in HTML File? How to Create an HTML File? HR Tag in HTML HTML Base Tag HTML Default Attribute HTML Hyperlink HTML Indent HTML Injection Payloads HTML Input Numbers Only HTML Roadmap HTML Row Height HTML Schedule HTML Space HTML Tab HTML vs HTTP HTML5 API HTML5 Video HTML Collection to Array Text Area in HTML

HTML5 Advance

HTML5 Tutorial HTML5 Tags HTML Button Tag HTML canvas Tag HTML caption Tag HTML City tag HTML Tag HTML5 SVG HTML Event Attribute HTML5 Audio HTML5 Youtube HTML5 Button Tag HTML5 Tags

Misc

How to add JavaScript to HTML How to change font in HTML How to change text color in HTML HTML Date HTML Hide Element HTML Nested Table HTML Reset Button What does HTML stand for? HTML Background Image HTML Tag Div Tag in HTML How to insert Image in HTML How to create a link with no underline in HTML How to insert spacestabs in text using HTMLCSS HTML tag HTML Code HTML Tag HTML Canvas Design a tribute page using HTML and CSS What is a Container tag Font tag in HTML Difference between HTML and DHTML Empty Tag in HTML HTML Button Link Html Line Break Img src HTML Nested List in HTML Placeholder in HTML TD in HTML HTML Space Code HTML Target Attribute HTML Tag Markup Meaning in HTML Border-Collapse in HTML HTML Onclick Online HTML Compiler Convert HTML to PDF HTML Formatter HTML5 - Web Storage HTTP – Responses Container Tag in HTML DL Tag in HTML Horizontal Rule HTML HTML Tab Text Html Table Cell Background Color HTML Table Cell Color HTML Col Width How Many HTML Tags are There Convert String to Unicode Characters in Python HTML Runner HTML Style Attribute HTML Superscript Attribute HTML tabindex Marquee Tag in HTML HTML Dynamic Form HTML side Tag HTML Pattern Attribute HTML q Tag HTML Readonly Base 64 Encoding in HTML Documents Enhancing Data Portability and Security Evo Cam Web Cam HTML Free code camp HTML CSS How to Add a JS File in HTML? How to Add Picture in HTML How to Add the Logo in HTML? How to Add Video in HTML HTML Class Attribute HTML Entities HTML Form Elements HTML Form Templates HTML Marquee Tag HTML Radio Buttons HTML Text box HTML to JSX HTML Tooltip Basic HTML Codes How to Align Image Center in HTML HTML Header Tag HTML Image Tag HTML Next Line HTML Plain Text HTML Popup Hspace in HTML HTML Interpreter HTML Maker HTML Nav Tag HTML Nested List How to create cards in HTML HTML Writer OnKeyDown in HTML Onmove in HTML Strip HTML Tags from String Style Dark Mode in HTML Automatic Image Slider in HTML CSS Base 64 Encoding in HTML Documents Enhancing Data Portability and Security Evo Cam Web Cam HTML Free code camp HTML CSS How to Add a JS File in HTML? How to Add Picture in HTML How to Add the Logo in HTML? How to Add Video in HTML HTML Class Attribute HTML Entities HTML Form Elements HTML Form Templates HTML Marquee Tag HTML Radio Buttons HTML Text box HTML to JSX HTML Tooltip Basic HTML Codes How to Align Image Center in HTML HTML Header Tag HTML Image Tag HTML Next Line

What does HTML stand for?

HTML stands for Hyper Text Markup Language. We use this markup language to design a web page. Web browsers use this language to showcase text, videos, images, audio and other mediums through which people can understand things.

HTML is a coding language that we use to construct the structure of websites. We use this language for structuring. Any website, such as Google, Facebook, etc., will have HTML. For example, if you open facebook.com and right-click on the screen, then a dialog box will appear as shown below; the dialog box consists of many options; click on the view page source, and you will see a big code.

What does HTML stand for

The large code is the source code shown below, which contains the HTML code. The code in the blue colour is the HTML code.

What does HTML stand for

In such a way, you can see the source code of any webpage.

The HTML language has many tags and attributes used to display the web page's text, images, videos, links, etc. The tags in HTML are written inside the angular brackets,'<' and '>'. HTML tags occur in pairs, such as <html> </html>, <h1> </h1>, <style> </style>, etc.

Syntax of HTML Tag

<tag_name> content goes here </tag_name>

The first tag, <tag_name>, is known as the opening tag, and the second tag, </ tag_name >, is known as the closing tag. Some tags do not need a closing tag. Those tags are known as self-closing tags. For example, <input>, <br>, etc. These tags are also known as empty tags or unpaired tags, which means these tags that do not have a pair.

HTML tags also have properties that are used to provide additional properties to the element. Attributes are always defined inside the opening tag. Attributes are always defined inside an opening tag that contains a name and value pair, such as <input type="text">, where input is the tag name, type is the attribute name, and text is the value of the type attribute.

When the user opens any web page, the user will only see text, images, videos, etc., but not the HTML code.

History:

The inventor of Hypertext Markup Language (HTML) is Tim Berners-Lee who invented HTML in Geneva in the year 1990. HTML is a continuously developing language. The organization that works on HTML regularly updates new versions.

Tim Berners-Lee also developed the World Wide Web (WWW) in 1989; HTML is maintained, created, modified and updated by an organization, the World Wide Web Consortium, also known as the W3C.

Different Versions of HTML:

  1. HTML 1.0
    HTML 1.0 was a basic version of HTML and a form of the Standard Generalized Markup Language (SGML). The text can be structured in this version. This version has fewer features. It does not provide support for tables, styles, etc.
  2. HTML 2.0
    This version of HTML was released in 1995 under the name Internet Engineering Task Force (IETF). This version has several new features. The concept of forms was introduced but only with basic tags like input text fields, buttons, etc. The most important feature of this version was the HTML image tag, which is used to insert images in web browsers.

    The World Wide Web Consortium organization was established prior to the release of the HTML 2.0 version. The W3C was developed to maintain the standard across various web browsers so that web browsers can understand HTML tags.
  3. HTML 3.0 (Never Released)
    At that time, both the Internet and HTML were spreading rapidly. HTML was becoming popular. As the number of Internet users increased, more people began to use the Internet to search for information, so HTML was the only language that produced web pages.
    People were reading information on web pages; hence, internet users were growing. Web developers were creating web pages, so the number of web pages was growing. All this caused complications, so the HTML 3 version came, but it was never published because there were no modifications, new features, etc.
  4. HTML 3.2
    This edition was published in 1997 by an organization called the World Wide Web Consortium. They included many features compared to the previous versions. HTML 3.2 introduces many attributes. Attributes are in the form of key-value pairs.
    The number of visitors to web pages on the Internet was rising. Another feature in this HTML 4.01 version is CSS, whose full form is Cascading Style Sheets. This feature helps in styling the web page and making the web page attractive so that the reader feels interested in reading the content. Browsers were very slow, so updates were coming back-to-back to match the requirements of the browser.
  5. HTML 4.01
    The Internet was becoming more and more prevalent. The number of Internet users was expanding. Web developers need more features to build the best web pages, so HTML 4.01 version was published to make up for this shortcoming.
    Some new features included in this version are as follows:
    • Style sheet
    • Client-side scripting
    • Advanced tables
    • Separation of structure and presentation
    • Accessibility
      With the update of HTML versions, it was also essential to update the web browser. Web browsers must also be updated to understand the new tags introduced in HTML. Hence, both HTML and web browsers were getting updated regularly to meet the requirement of the user.
      HTML 4.01 introduces external style sheets to separate HTML and CSS codes. This feature helps in maintaining the code. CSS can be attached to an HTML document to use the CSS property.
  6. HTML5
    HTML5 has come up with clean markup and clean code, which makes it more accessible to both the user and developer. It allows web developers to use clean code, remove tags, and replace them with new HTML5 elements.
    Some new features are as follows:
    1. Video and audio are new tags included in HTML, which allow us to embed video on a web page we are designing. This feature enhances our website and attracts people to the video and audio of the web page.
    2. Header
    3. Canvas
    4. Footer

      Nav tag, which is used to link different pages to one another. We can place the links of all the web pages of our website inside in the nav tag.

Here are some of the new features added in the HTML5 version:

Audio Tag: The <audio> tag is used to add audio to an HTML document. This tag helps in embedding the audio on the web page. We can play audio on the web page.

Video Tag: The <video> tag is used to add videos to an HTML document. This tag helps in embedding the video on the web page. We can play videos on the web page.

Email Tag: The <input> tag of email type was added in the HTML5 version. An email tag is a <form> tag used to add an email. This tag is used to check whether the input entered is a valid email or not.

Semantic Tags: These are called structural tags because they define the structure of the HTML document. The semantic tag defines that the particular element should be used for the specific function, which means that we use a heading tag to describe the heading, not to define a paragraph. This tag divides the page into different parts.

Password: This is the <input> tag of the type password. The user uses this tag to type the password. The password typed by the user is not visible to the user but is represented by special symbols.

Section tag: This tag represents the section on the web page.

Canvas: This tag is used to create graphics, combine photos, etc., using JavaScript.

An example below demonstrates the basic HTML code we use to create web pages.

<!Doctype Html> 
<Html> 


<Head>   
<Title>     
 Example of HTML
</Title>  
</Head>  


<Body>     
Hello World!  
</Body>  


</Html>

Output:

The output below shows the HTML page created using the above tag. Without these tags, we cannot create web pages.

What does HTML stand for

In the above example, the first tag <!Doctype html> denotes the type of document which is HTML5.

The second tag <html> is mandatory because it is the root element of the HTML page.

The <head> tag consists of meta information such as the title of the web page. It also includes the <style> tag, which is used to add CSS code to an HTML document. <javascript> tag adds functionality by adding JavaScript code to a web page.

The <title> tag determines the title of the web page. This title appears in the title bar of the browser.

The <body> tag contains the body of the document. It consists of elements such as titles, images, paragraphs, tables, forms, lists, etc., that appear on a web page.

Browser Support:

  1. It supports the following browsers:
  2. Google Chrome
  3. Internet Explorer
  4. Microsoft Edge
  5. Mozilla Firefox
  6. Opera
  7. Safari