• HTML,CSS,PHP,JAVASCRIPT ALL WEBDEVELOPMENT INFORMATION HINDI

    Sunday, 5 March 2017

    html blocks information

    html blocks=

    हर html तत्व मे  तत्व के आधार पर डिफ़ॉल्ट डिस्प्ले मान होता है तत्वों के लिए डिफ़ॉल्ट प्रदर्शन मान block or inline..
    एक block तत्व हमेशा एक inline पर शुरू होता है और पूरी चौड़ाई उपलब्ध कराता है block level tags show in webpages..automaticaly space in line(ब्लॉक स्तर टैग वेब पेजों में दिखते हैं )

    exa- 

    • .<div>
    • <p>
    • <form

    inline elements=

    inline elments used in line space in automatically and width usein webpages(इनलाइन तत्वों को लाइन में प्रयुक्त स्वचालित रूप से और चौड़ाई वेबपेजों का उपयोग करते हुए)-
    exa-
    • <span>
    • <anchor>
    • <img>

    <div> elements-


    <Div> तत्व अक्सर अन्य HTML तत्वों के लिए एक कंटेनर use



    <Div> तत्व में कोई आवश्यक विशेषताओं नहीं हैं, style और class हैं।


    css use in design blogs and new advance design provide..

    exa- 

    <div style="colour:black;background:color:green;padding:10px;margin20px">
      <h2>india</h2
      <p>india is  capital city of newdelhi. It is the most pollution city in the world, </p>
    </div>

    <span> elements-inline tag. use in text formate. text in same line




    <Span> - लेकिन style और class



    css के साथ एक साथ उपयोग किया जाता है, तो <span> तत्व का text कुछ हिस्सों में इस्तेमाल किया जा सकता है

    exa- <html>
            


        <body>

        <p>is paragraph
    <span style="color:red">Important</span> 
     </p>

     </body>

     </html>


    No comments:

    Post a Comment

    Contact

    Name

    Email *

    Message *

    Pages