Learn Html Tags ,Attributes, Webpage Document Structure in Hindi -
HTML (Hyper Text Markup Language) एक भाषा है जिसके जरिये हम Web-Browser को समझा ते हैं कि हमारे Webpage के Information ( text, images आदि ) को User के Screen पर कैसे Display किया जाये। हमारे पेज का Layout कैसा हो गा ये भी हम HTML के Code से ही Browser को बताते हैं। बिना HTML Code के कोई भी वेबपेज Design नही किया जा सकता इस समय जिस पेज को आप अपनी Screen पर देख रहें है इसे भी बनाने के लिये HTML Language का Use किया गया है। HTML File का Extension .html हो ता है।
Tools for write HTML in your computer
HTML में Code लिखने और Run करने के लिये कुछ Basic Tools की जरूरत हो ती है जो की Computers में पहले से ही Installed हो ते हैं। इसके लिये mainly दो प्रका र के टूल्स की जरूरत पडती है: 1. Text Editor (जैसे Notepad, Notepad++, Dreamweaver, Coffee Cup आदि ) 2. Web Browser (जैसे Internet Explorer, Google Chrome, Firefox, Safari, Opera आदि ) Text Editor हम Use करेंगे Code लिखने के लिये और Browser में हम बनाये गये HTML File को Run करेंगे।
HTML Document Structure
-लगभग सारे Tags के opening और closing होते हैं। opening tag कुछ इस तरह हो ता है: <tag_name>
और closing tag में / लगा हो ता है जैसे: </tag_nam>
- सभी Html tags के पहले <html> और सबसे अंत मे <html/> के लिखे जाते है |
- Head tags के बीच मे लिखी गयी information actual page मे दिखता [ appear ] नहीं है
<head> information like title <head/> के लिखे जाते है |
- Title tags के बीच मे लिखी गई information Web browser के title bar मे दिखता है
<title> <title /> के लिखे जाते है |
- Body tags मे वे सभी content लिखे जाते जो actual पेज पर दिखते है |
<body> contain all the visible content of the page including all images, links, etc. <body/> के लिखे जाते है |
Basic Tags in Html -
1. Headings and Subheadings
<h1> A heading </h1>
There are 6 levels of headings available from smallest to largest. ( h1 to h6)
2. Paragraphs
<p> Some text </p>
- <p align =left> Text जि सको left align करना है </align>
- <p align =right> Text जि सको right side में दि खा ना है </align>
- <center>Text जि सको center align करना है </center>
3. Links
<a href = "URL" </a>
4. Image
<img src = "image_name .jpg">
5. - ol Tag stands for Ordered list and ul for Unordered List
<ol type = "a">
<ul type = "a">
6. Break Tag
<br> Tag is used for styling. In most cases it's preferred to use CSS and Java for Styling.
7. Comment Tag
यह actual page मे दिखात नहीं है |
<!--- this is a comment --->
8. Form tag- It is used for adding a special Form to the Web page.