क्यों जीमेल बटन "div" टैग है और "बटन" टैग नहीं है?क्यों जीमेल बटन "div" टैग है और "बटन" टैग नहीं है?
क्रोम फ़ायरबग से जीमेल बटन कोड:
<div id=":or" class="T-I J-J5-Ji ar7 T-I-ax7 L3 T-I-JO" role="button" tabindex="0" aria-expanded="false" style="-webkit-user-select: none; " aria-haspopup="true">
<span class="Ykrj7b">More</span>
<div class="G-asx T-I-J3 J-J5-Ji"></div>
</div>
अग्रिम धन्यवाद, योसेफ
क्योंकि Google डेवलपर्स ने बटन के बजाय डीआईवी टैग का उपयोग करने का निर्णय लिया। –
क्योंकि 'div' और 'span' तत्वों का प्रतिपादन ओएस आश्रित नियंत्रण – haynar
@haynar से अधिक तेज़ है क्या आपके पास इसका स्रोत है? –