Your Ad Here

Inline Spans

Inline Spans are used to change a length of text through CSS. If you are going to be doing the same thing to certain areas of text throughout your paragraph then it would be a wise choice to use inline spans to reduce the amount of coding you need to do. This also allows you to changeĀ all of the Inline SpansĀ at once if you ever decide to change them, rather then coding each section individually on the changes. Inline spans can be assigned an id, class, or both. Example of a span being used would be:

<p>Here in the <span>United States</span></p>

Inline Spans will not do anything to your text until you assign them style code, whether it is through your CSS or inside the opening of the span tag.

VN:F [1.6.4_902]
Rating: 0.0/5 (0 votes cast)
VN:F [1.6.4_902]
Rating: 0 (from 0 votes)




Leave a Reply