How can I learn HTML language? | history, introduction, defination, basic of html.
History
Introduction
HTML Elements
Basic Structure
Tag of HTML
HTML styles
History
HTML Language is created by Tim Berners Lee in the late 1991 but it not release officially then published actual in 1995 2.0 version. And also now new version of html is 4.0 in used day to day life. This is one structure base language and its different version are developed in few previous year.
Introduction
- HTML is one of the Programming Language
- It is stands for Hypertext Preprocessor
- It is one Server Side Scripting Language
- It is Open Source Programming Language and also Cross Platform Programming language means Its easily used in any operating system like windows, linux, unix, ubantu, etc.
- It is Syntax like C Programming
- HTML Language integrate with different database like mysql, oracle, etc.
HTML Elements
<Doctype html> Element
This element is used to define the what time of Document you are used in code.
<html></html> Element
This is not empty element because this element is two tag available start and end tag.
This element is used to define this webpage is html webpage.
<head></head> Element
This is not empty element.
This element is used to define the header of the title tag.
<title></title> Element
This is not empty element.
This element is used to define the title of the web page.
<body></body>
This is not empty element.
This element is used to define the containt that display on the webpages.
Basic structure
<Doctype html>
<html>
<head>
<title> This is one webpage </title>
</head>
<body>
<h1> This is a heading </h1>
<p> This is a paragraph </p>
</body>
</html>
Tag of html
<b> - Bold Text
<i>- Italic Text
<strong>- Important Text
<em>- Emphasized Text
<mark>- Marked Text
<small>- Smaller Text
<del>- Deleted Text
<ins>- Inserted Text
<sub>- Subscript Text
<sup>- Superscript Text
Example
<body>
<h1> This is the <b> Mumbai </b> City. </h1>
</body>
same as used all above element in html code.
HTML Styles
The HTML styles attribute is used to add styles to an element, such as color, font, size and more.
Syntax
<tagname style ="property:value;">
Color
CSS color property defines the background color for an html page or elements.
</body style ="color:blue;">
<h1>This is a heading </h1>
<p> This is a paragraph </p>
</body>
Background-Color
CSS color property defines the color for an html elements.
</body style ="background-color:blue;">
<h1>This is a heading </h1>
<p> This is a paragraph </p>
</body>
Font Family
Font Family property used to define font of html elements
</body style ="font-family:verdana;">
<h1>This is a heading </h1>
<p> This is a paragraph </p>
</body>
Text Size
Text Size is used to define size of html elements.
</body style ="font-size:150%;">
<h1>This is a heading </h1>
<p> This is a paragraph </p>
</body>
Text Alignment
Text Alignment is used to define the align of html elements.
</body style ="text-align:center;">
<h1>This is a heading </h1>
<p> This is a paragraph </p>
</body>

टिप्पण्या
टिप्पणी पोस्ट करा