Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizWhen writing in HTML, the <span> tag is used as an inline container for grouping or PHRASING content. It's USEFUL when you want to change the language of a section of text, or its styling, via the use of CSS or the <style> tag. The following SECTIONS contain information about this tag, including an example of it in use, and related attributes and browser compatibility.
Example of <span> code<p>I drive an <span style="color:orange">orange</span> CAR.</p>Example resultI drive an orange car.
AttributesWithin an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <span> tag does not have any unique attributes, it does utilize all the STANDARD attributes.
CompatibilityEdge | Internet Explorer | Firefox | Safari | Opera | Chrome |
---|---|---|---|---|---|
All versions | All versions | All versions | All versions | All versions | All versions |
Turn Your Knowledge into Earnings.
Ever curious about what any word really means? Dictionary has got them all listed out for you to explore. Simply,Choose a subject/topic and get started on a self-paced learning journey in a world of word meanings and translations.
Write Your Comments or Explanations to Help Others