Span

Właściwość <span>

<span> jest podobną koncepcja do elementu <div> z tą różnicą, że określa on styl liniowo,na przykład, jedynie dla jednej litery lub całego paragrafu. Przykład w kodzie HTML:

<span class=”italic”>This text is italic</span>

Styl “italic jest okreslony w arkuszu CSS w następujący sposób:

.italic{

font-style: italic;

}

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)