HTML Introduction

by Yogesh Khanna 24-Feb-18

1 5871


In this Course, we will go through general HTML concepts and all mandatory topics for the beginner through which they can learn HTML online, run a simple to advanced level programs and become expertise on it.

We will cover step by step topics to guide you entire topics of HTML. Stay tuned with every updated topics.

Lets Start with
HTML Basics
HTML (Hyper Text Markup Language) is not a programming language. It is a standard Markup Language used to create HTML Web Pages. As it comprises of a markup language and a hypertext.

Note: A personal piece of advice, buy this book that will help you to get insights into HTML

The function of a markup language is to define structure whereas a Hyperlink is to define website link. Every HTML pages contains elements which are represented by tags. The HTML document is written in the plain text file or editor which is saved with .htm or .html extension.

The HTML file consists of small markup tags, it starts with a start tag and close with an end tag. The whole content of html file enclosed with the start and end tag. You can see the below example, it is a simple HTML document to print the text in a web page.

Example:

<!DOCTYPE html>
<html>

<head>
<title> Sample Page of HTML Format </title>
</head>

<body>

<h1> My First Heading </h1>
<h1> My Second Heading </h1>

<p> My first paragraph. </p>

</body>
</html>

* The <html> element is root element of HTML web page
* The <head> element contains meta information
* The <title> element specifies title for document
* The <body> element contains visible page content
* The <h1> element defines heading
* The <p> element defines paragraph

HTML Supports all browsers and browsers i.e. IE, Opera, Google Chrome, Safari, Firefox - responsibility to read HTML Code and display the result.

<!DOCTYPE> represents document type and helps browsers to display web pages properly.


<html>
<head>

<title> Welcome Page </title>

</head>
<body>

Hello Friends, This is my welcome page.

</body>
</html>

With the above example, you can start your practice and easily understand the concepts of HTML. A beginner can just type all the above code in any editor or notepad and save with .html extension, then run this file in a web browser. you can see a web page with the title "Welcome Page" and text "Hello Friends, This is my welcome page."

You can easily prepare for HTML interview questions by implementing all examples. Generally, HTML supports all web browsers such as Safari, Internet Explorer, Opera, Google Chrome and Mozilla Firefox.

Related Articles:
a) Top 50 HTML Interview Questions


Share:


Discount Coupons



Comments

    Waiting for your comments

Leave a Reply