HTML Basics - Full Instructions and Guide
Presentation
Welcome to the HTML Tutorial for novices. This instructional exercise doesn\'t oblige you to have earlier information of any programming dialect. Everything you need to have is fundamental content altering abilities on a PC!!HTML Stands for Hyper Text Markup Language. It is a markup dialect used to make site pages. Web programs like Internet Explorer, Google Chrome, Mozilla Firefox, and so on., can comprehend this dialect and presents the website pages in the arrangement proposed by its creator.
It\'s fun and simple to learn HTML.
(This instructional exercise clarifies HTML 4.01 which is upheld by every present day program.)
Beginning
To begin learning HTML everything you need is a word processor like Notepad to make the HTML record and a web program, for example, Internet Explorer to show the pages you make. So let\'s make our first website page.Step 1: Open Notepad
Step 2: Type in the accompanying HTML code. This HTML code will be clarified in the later sections of this instructional exercise.
My First Page A very interesting web page !!!
Step 3: Save the document:
In Notepad Click File->Save As
Select Save as Type: All Files
Enter Filename: FirstPage.html
Click Save
Step 4: Open FirstPage.html record on your web program. You will see the page you just made, much the same as the one demonstrated as follows.
Components and Tags
HTML Elements
A HTML page is comprised of an arrangement of HTML Elements. HTML components comprise of HTML Tags and some substance.
The accompanying is a sample of a HTML component.
A very interesting web page!!!and
are the labels in this HTML component and it advises the web program to show the content - An extremely intriguing site page!!! - as heading.HTML Tags
The vast majority of the HTML labels come in sets - an opening tag and an end tag.
Opening labels will have a < taken after by the label name and >
Shutting labels will have a
In the HTML component above,
is the opening tag and
is the end tag.Some HTML labels don't have an end tag. For instance the
tag is utilized addition a line break as a part of a HTML page and it doesn't require an end tag.
Characteristics
The opening labels in HTML can have characteristics which gives extra data to the tag.
The tag in your first html page has the credit color=red to show the content in red.
color=Red>
HTML Structure
The structure of a HTML archive is as demonstrated as follows
DOCTYPE: Declares which form of HTML is utilized as a part of the document. assertions for HTML 4.01 are:
Strict
Transitional
Frameset
: Defines the begin of the HTML archive.
: Defines the begin of head segment. Head area contains general data around a page such as title, depiction, and catchphrases.
: Defines the end of head segment.
: Defines begin of the real page substance.
: Defines the end of page substance
: Defines the end of the HTML record
Title tag
Title:Title label sets the title of the report and it ought to be set in the segment of the HTML page. The content between the title labels will be shown on the highest point of the program window.
Sample Code:
My First Page
Basic HTML Tags
Shown as:
Body Tag
Body Tag:
The tag characterizes the body of the HTML page where the genuine page substance are set. The most generally utilized traits for a tag are
foundation: to determine a foundation picture for the page
bgcolor: to determine a foundation shading for the page
content: to determine the content shading
Code:
Shown as:
Heading Tags
Heading:
to
Heading labels are set inside the body segment of the HTML and are utilized to show content as heading. There are 6 diverse heading labels - , , , , and
h1 has the most noteworthy significance and h6 has the slightest significance.
Code:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Shown as:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Section Tag
Section:
The section labels, and
, will design the content as a passage and include some space previously, then after the fact.
Code:
This is an example for paragraph tags in HTML. Paragraph alignment can be set using the align attribute. This is my first paragraph.
This is the second paragraph. This paragraph is aligned to the center. The align attribute can have one of the following values: left, right, center, justify.
Shown as:
This is an illustration for passage labels in HTML. Passage arrangement can be set utilizing the adjust characteristic. This is my first passage.
This is the second section. This passage is adjusted to the inside. The adjust characteristic can have one of the accompanying qualities: left, right, focus , legitimize
Break and Rule Tag
Line break:
The
tag will embed a line break. Any content or picture that takes after this tag is moved to the following line.
tag don't have an end tag.
Code
This is an example of a line break
This is another line
and one more
Dispayed as
This is a case of a line break
This is a different line
also, one more
Even Rule:
The
tag will embed an even run the show. You can determine the length and width of the standard utilizing qualities size and width.
tag don't have an end tag.
Code
Rule 1:
Rule 2:
Shown as
Rule 1 :
Rule 2:
Formatting Tags
Striking:
tag will show the content in striking.
Italic:
tag will show the content in italic.
Solid:
tag will organize the content as imperative.
Square Quote:
tag is utilized to configuration content as a citation.
Code -
This is bold text
Heading labels are set inside the body segment of the HTML and are utilized to show content as heading. There are 6 diverse heading labels -
, , , , and
h1 has the most noteworthy significance and h6 has the slightest significance.
Code:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Shown as:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Section Tag
Section:
The section labels, and
, will design the content as a passage and include some space previously, then after the fact.
Code:
This is an example for paragraph tags in HTML. Paragraph alignment can be set using the align attribute. This is my first paragraph.
This is the second paragraph. This paragraph is aligned to the center. The align attribute can have one of the following values: left, right, center, justify.
Shown as:
This is an illustration for passage labels in HTML. Passage arrangement can be set utilizing the adjust characteristic. This is my first passage.
This is the second section. This passage is adjusted to the inside. The adjust characteristic can have one of the accompanying qualities: left, right, focus , legitimize
Break and Rule Tag
Line break:
The
tag will embed a line break. Any content or picture that takes after this tag is moved to the following line.
tag don't have an end tag.
Code
This is an example of a line break
This is another line
and one more
Dispayed as
This is a case of a line break
This is a different line
also, one more
Even Rule:
The
tag will embed an even run the show. You can determine the length and width of the standard utilizing qualities size and width.
tag don't have an end tag.
Code
Rule 1:
Rule 2:
Shown as
Rule 1 :
Rule 2:
Formatting Tags
Striking:
tag will show the content in striking.
Italic:
tag will show the content in italic.
Solid:
tag will organize the content as imperative.
Square Quote:
tag is utilized to configuration content as a citation.
Code -
This is bold text
, , and
h1 has the most noteworthy significance and h6 has the slightest significance.
Code:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Shown as:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Section Tag
Section:
The section labels, and
, will design the content as a passage and include some space previously, then after the fact.
Code:
This is an example for paragraph tags in HTML. Paragraph alignment can be set using the align attribute. This is my first paragraph.
This is the second paragraph. This paragraph is aligned to the center. The align attribute can have one of the following values: left, right, center, justify.
Shown as:
This is an illustration for passage labels in HTML. Passage arrangement can be set utilizing the adjust characteristic. This is my first passage.
This is the second section. This passage is adjusted to the inside. The adjust characteristic can have one of the accompanying qualities: left, right, focus , legitimize
Break and Rule Tag
Line break:
The
tag will embed a line break. Any content or picture that takes after this tag is moved to the following line.
tag don't have an end tag.
Code
This is an example of a line break
This is another line
and one more
Dispayed as
This is a case of a line break
This is a different line
also, one more
Even Rule:
The
tag will embed an even run the show. You can determine the length and width of the standard utilizing qualities size and width.
tag don't have an end tag.
Code
Rule 1:
Rule 2:
Shown as
Rule 1 :
Rule 2:
Formatting Tags
Striking:
tag will show the content in striking.
Italic:
tag will show the content in italic.
Solid:
tag will organize the content as imperative.
Square Quote:
tag is utilized to configuration content as a citation.
Code -
This is bold text
and
h1 has the most noteworthy significance and h6 has the slightest significance.
Code:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Shown as:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Section Tag
Section:
The section labels, and
, will design the content as a passage and include some space previously, then after the fact.
Code:
This is an example for paragraph tags in HTML. Paragraph alignment can be set using the align attribute. This is my first paragraph.
This is the second paragraph. This paragraph is aligned to the center. The align attribute can have one of the following values: left, right, center, justify.
Shown as:
This is an illustration for passage labels in HTML. Passage arrangement can be set utilizing the adjust characteristic. This is my first passage.
This is the second section. This passage is adjusted to the inside. The adjust characteristic can have one of the accompanying qualities: left, right, focus , legitimize
Break and Rule Tag
Line break:
The
tag will embed a line break. Any content or picture that takes after this tag is moved to the following line.
tag don't have an end tag.
Code
This is an example of a line break
This is another line
and one more
Dispayed as
This is a case of a line break
This is a different line
also, one more
Even Rule:
The
tag will embed an even run the show. You can determine the length and width of the standard utilizing qualities size and width.
tag don't have an end tag.
Code
Rule 1:
Rule 2:
Shown as
Rule 1 :
Rule 2:
Formatting Tags
Striking:
tag will show the content in striking.
Italic:
tag will show the content in italic.
Solid:
tag will organize the content as imperative.
Square Quote:
tag is utilized to configuration content as a citation.
Code -
This is bold text
h1 has the most noteworthy significance and h6 has the slightest significance.
Code:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Shown as:
This is Heading 1
This is Heading 2
This is Heading 3
This is Heading 4
This is Heading 5
This is Heading 6
Section Tag
Section:
The section labels,
and
, will design the content as a passage and include some space previously, then after the fact.Code:
This is an example for paragraph tags in HTML. Paragraph alignment can be set using the align attribute. This is my first paragraph.
This is the second paragraph. This paragraph is aligned to the center. The align attribute can have one of the following values: left, right, center, justify.Shown as:
This is an illustration for passage labels in HTML. Passage arrangement can be set utilizing the adjust characteristic. This is my first passage.
This is the second section. This passage is adjusted to the inside. The adjust characteristic can have one of the accompanying qualities: left, right, focus , legitimize
Break and Rule Tag
Line break:
The tag will embed a line break. Any content or picture that takes after this tag is moved to the following line.
tag don't have an end tag.
Code
This is an example of a line break
This is another line
and one more
Dispayed as
This is a case of a line break
This is a different line
also, one more
Even Rule:
The
tag will embed an even run the show. You can determine the length and width of the standard utilizing qualities size and width.
tag don't have an end tag.
Code
Rule 1:
Rule 2:
Shown as
Rule 1 :
Rule 2:
Rule 2:
Formatting Tags
Striking:
tag will show the content in striking.
Italic:
tag will show the content in italic.
Solid:
tag will organize the content as imperative.
Square Quote:
tag is utilized to configuration content as a citation.
Code -This is bold text
This is Italic text
This is Strong text
"The Best English Web Magazine -http://en-tipsntricks.blogspot.com/ " - Mahatma Gandhi
Shown As
This is bold text
This is Italic text
This is Strong text
This is Italic text
This is Strong text
"The Best English Web Magazine - http://en-tipsntricks.blogspot.com/"
List Tags
Unordered rundown :- and . The default shot style is a plate (a filled circle). You can change the slug style by setting the sort ascribe to circle, square or plate.
An unordered rundown is a bulleted rundown of things and characterized utilizing the labels
- and
Code:
Tech News
Downloads
@en-tipsntricks.blogspot.com
Shown as:
- Tech News
- Downloads
- @en-tipsntricks.blogspot.com
Requested rundown:
A requested rundown is a numbered rundown of things and characterized utilizing the labels
- and
1 - for numbers
a - for lower case letters
A - for capitalized letters
i - for lower case roman numerals
I - capitalized roman numerals
Code:
First
Second
Third
Shown as:
- First
- Second
- Third
Picture Tag
Picture Tag:
The
src: to indicate the url of the picture
alt: to indicate the substitute content to showed if the picture is not accessible
width: to indicate the width of a picture in pixels
stature: to determine the tallness of a picture in pixels
Code:

Shown as:

Grapple Tag
Grapple Tag:
The grapple labels and are utilized to make a connection to an asset, for example, a html page or any document. Connections can be made around some content or a picture by putting the content or picture between the opening grapple label and shutting tag . The regularly utilized qualities for stay labels are
href : To determine the area (URI) of the asset
Focus: To determine the objective casing where the connection is to be opened. As a matter of course the objective quality will have the worth "_self", so the connection will open in the same casing where it was clicked. To open the connection in another window, you can set target="_blank"
Code:
Click here Tech NEWS
Shown as:
Click here Tech NEWS
HTML Tables
Table Tags:
| , | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
