Hindi mein HTML tutorial for beginners – 2
HTML ke sabase important parts hain tags. Iske bina koi webpage nahin bana ja sakta hai. Tags ke do prakar hain: opening tags aur closing tags. Opening tags ko <> ke andar likha jaata hai aur closing tags ko > ke andar. Sabhi HTML tags ek dusre ke saath kaam karte hain – jo opening tag hai uska ek corresponding closing tag hota hai. Opening tagsmein sabhi attributes likhe hote hain jo ki ek specific element define karne mein madad karte hain, jaise ki id, class, style aur src ka naam aata hai. Closing tags mein koi attributes nahin likhe hote. Yahan par main aapko 2no mukhya HTML tags batane ja raha hoon jo sabhi beginner web designers aur developers ko pata hona jaroori hai:
: Yeh tag sirf body section mein hi use kiya ja sakta hai aur iske andar hi aapko webpages ka content likhna hota hai jo users dikhaai deta hai.
: Yeh tag document ke starting mein hota Hai Aur iska Use Html ke sabase upper walle hisse yani ki head part me hota Hai Aur iska Use Meta Tags Links Aur Documents Ka CSS Aur JavaScripts ki file declare Karni Hoti Hai.
to
: In heading tags ko heading text banana ke liye use kiya jaata Hai Aur ye 6 types Ke Hote Hai h1 Se lekar h6 Tak inme se Jo Bhi Badha Uska Matlab Bada Heading Hota Hai Jabki Jo Chota Uska Matlab Smaller Heading Hota Hai.
: Paragraph tag use text likhne ya banana ke liye Kiya Jata Hai isse Aap apni Post Me Ek Heading Ke Niche Ki total information Ek Hi jagah Par Likh Sakte ho Jaise Ki Maine Aapko uper Bataya tha ki Maine Is Post Me
Tag Ki information Di Thi Uske Niche paraGraph Me Uski Detals Di ThI.: Agar Aap Kisi Word Ko Strong banana Chahte he To Use strong Tag Likhe For Example Strong Word Is Very Important Word.
: Em Tag Ka Istemal Sirf Ek He word pr Kar Sakte Ho agar aap apni post Me Kisi ek word Ko Highlight Banana Chahte Ho To Use Em Tag Dekar Aap Asani se Kar Sakte Ho For Example Em Tag Is Ko Use Karta Hu .
: Agar Aap Kisi Ko Quote Karna Chahte Ho Ya fir Kisi Ki Baat Apni Post Me Show Karn chahate Ho To Use BlockQuote Tag dekar Aap Asani se Kar SaktE ho For Example Blockquote tag Is Tarah se Istemal Hua Hota Hai . The Blockquote element defines a section that is quoted from another source.
These Are Some Main Basic Tags Wich Every Beginner Must Have Known So Lets Come To Some Advance level where we will be discussing some advancetags which are must for every web designer or developer to know.: Images add extra appeal to your website pages. Web browsers can automatically download images from the network as soon as they encounter the element in your code. You can also specify the width, height, and alternative text for an image using the element’s attributes. The “alt” attribute specifies an alternate text for an image if it cannot be displayed for some reason. The “width” and “height” attributes specifies the width and height of an image.
: The anchor element is used to create links to other parts of the same document or to other web pages altogether. When you click on a link, the browser navigates to the link’s target location.
,
, &
: Tables are one of the most useful tools in HTML for organizing data into rows and columns. You can also use tables to create layouts for your web pages.
defines a table, while
defines a row in the table, and defines a cell in the row. Cells can contain text or other elements like images, lists etc. : The div element is very versatile and can be used for many different purposes. It is often used as a container for other elements like headings, paragraphs etc.
: The span element does not add any extra structure to your code but it does come in handy when you want to apply styles to specific parts of your text without having to wrap those parts in additional elements like or etc.
These were some of the most commonly used HTML elements that you need to know about as a beginner. In our next tutorial, we will take a closer look at how these elements work and how you can use them to build better websites!