Sep 22, 2020

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>
</head>
<body> <! Container for all visible elements>

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

</body>
</html>

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

HTML links are defined using anchor <a> tag.
<a href="https://www.ishandevshukl.com">Go to ishandevshukl.com</a>

Images are defined with tag <img> Attributes: src (Source); alt (Alternate text)
<img src="https://bit.ly/2EsXD7i" alt="ishandevshukl.com" 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.


No comments:

Post a Comment

Thanks a lot for your valuable Comment!

Featured this week

Latest Employment BUZZ: 4 working days in a week?

COVID-19 has hit mostly all sectors including IT  too bad. If we think otherwise, on the other hand,  there have been many new technical inn...