What is span in HTML?

By: Raykha Timalsina | 18 June 2019


Niharika AS

26 December 2019

HTML <span> tag use to give a specific properties of the selected TEXT areas. It is work only for that text; which is written between the <span> open and </span> close tag.

For Example: CSS Properties written below


font-size: 30px; font-family: Arial;

color: #ef43ef; Backgraund-color: Red;


<p>This is my 1st paragraph to use <span>HTML SPAN TAG</span>. It looks perfect</p>

The result of the span font will change because of these span upper properties.

0 votes

Your Answer

Advertise With Us

We offer sponsored posts and guest posts with do-follow links, back-links, and other advertising services, To advertise email us at ""

© 2021 GDATAMART.COM (All Rights Reserved)