HTML for Beginners, Testers | Basics Step by Step with Examples

What is HTML?

HTML stands for Hyper Text Markup Language. HTML is a series of elements

describing Structure of a webpage and tells the browser how to render web elements.

For Example:

<!DOCTYPE html> < !Defines document is a HTML webpage>
<html> < !Start of HTML document>
<head> < !Contains webpage meta information>
<title>Page Title</title> < !Defines Title of Webpage>
<body> <! Container for all visible elements>

<h1>Heading.</h1> < !Heading in a Webpage>
<p>Paragraph.</p> < !Paragraph in a webpage>


HTML headings can be defined from <h1> to <h6> as per font-size

HTML links are defined using anchor <a> tag.
<a href="">Go to</a>

Images are defined with tag <img> Attributes: src (Source); alt (Alternate text)
<img src="" alt="" width="300" height="200">

Copy Paste Below code in Notepad --> Save with extension .html  and open it in Browser to practically see what we learnt from this Tutorial.