Welcome guys!
This post is on Beginning Website development.
So lets get started
First thing is HTML
HTML stands for Hyper Text Markup Language.
It is a simple language used to develop websites.
There are a number of tags in HTML.
It is not possible to remember all the tags though,but you have to know some of them since they are used in each and every website.
Html is just a collection of tags which specify some action.
example:- <img> is a tag which is used to specify that some image has to be added.
Let us start with a simple code to develop some website.
Every HTML based website must contain these tags.
<!Doctype html>
<html>
............
...........
</html>
Every tag has an equivalent closing tag.
HTML is called as a markup langauge because it allows the user to structure the tags in a specific format.
example for an HTML document
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
How to run HTML codes???
It is very simple.Just copy and paste these codes in your text editor and save it as .html.Now open this .html file using a browser(Google chrome,explorer,etc).
This post is on Beginning Website development.
So lets get started
First thing is HTML
HTML stands for Hyper Text Markup Language.
It is a simple language used to develop websites.
There are a number of tags in HTML.
It is not possible to remember all the tags though,but you have to know some of them since they are used in each and every website.
Html is just a collection of tags which specify some action.
example:- <img> is a tag which is used to specify that some image has to be added.
Let us start with a simple code to develop some website.
Every HTML based website must contain these tags.
<!Doctype html>
<html>
............
...........
</html>
Every tag has an equivalent closing tag.
HTML is called as a markup langauge because it allows the user to structure the tags in a specific format.
example for an HTML document
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
How to run HTML codes???
It is very simple.Just copy and paste these codes in your text editor and save it as .html.Now open this .html file using a browser(Google chrome,explorer,etc).
- The
<!DOCTYPE html>
declaration defines this document to be HTML5 - The
<html>
element is the root element of an HTML page - The
<head>
element contains meta information about the document - The
<title>
element specifies a title for the document - The
<body>
element contains the visible page content - The
<h1>
element defines a large heading - The
<p>
element defines a paragraph
The latest version of HTML is HTML5.
HTML Headings
HTML headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading. <h6> defines the least important heading:
Example:
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
HTML Paragraphs
HTML paragraphs are defined with the <p> tag:
Example:
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
HTML Links
HTML links are defined with the <a> tag:
example
<a href="www.technopediabuzz.blogspot.com">This is a link</a>
HTML Images
HTML images are defined with the <img> tag.
The source file (src), alternative text (alt), width, and height are provided as attributes:
Example:
<img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142">
Thats all in this post.We shall continue in the next post.
Stay tuned and never give up!😞
Comments
Post a Comment