+ 1
What does <span> tag do? and how does css is linked to html in this program?
HTML,CSS
2 Respuestas
+ 22
<span> tag is used for grouping and applying styles to inline elements. It is used with the inline elements.
<p>This is a paragraph <span style="color:#FF0000;"> This is a paragraph</span> This is a paragraph</p>
<!-- This makes the span text red in color. -->
To link CSS to HTML :
put this in the head section of your HTML page -
<link href="style.css(or any file name)" type="text/css" rel="stylesheet">
+ 2
Read this → https://www.w3schools.com/Tags/tag_span.asp , https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
https://www.sololearn.com/discuss/31168/?ref=app
https://www.sololearn.com/discuss/241721/?ref=app
https://www.sololearn.com/discuss/188975/?ref=app
https://www.sololearn.com/discuss/46854/?ref=app
https://www.sololearn.com/discuss/18511/?ref=app
https://www.sololearn.com/discuss/599392/?ref=app
https://www.sololearn.com/discuss/515815/?ref=app
https://www.sololearn.com/discuss/394759/?ref=app
https://www.sololearn.com/discuss/99752/?ref=app
https://www.sololearn.com/discuss/225795/?ref=app
https://www.sololearn.com/discuss/572891/?ref=app
https://www.sololearn.com/discuss/571541/?ref=app
https://www.sololearn.com/discuss/416884/?ref=app
https://www.sololearn.com/discuss/488420/?ref=app
https://www.sololearn.com/discuss/562179/?ref=app
https://www.sololearn.com/discuss/643613/?ref=app
https://www.sololearn.com/discuss/643687/?ref=app
https://www.sololearn.com/discuss/613404/?ref=app
https://www.sololearn.com/discuss/626089/?ref=app
https://www.sololearn.com/discuss/416884/?ref=app
https://www.sololearn.com/discuss/225795/?ref=app
https://www.sololearn.com/discuss/571541/?ref=app
https://www.sololearn.com/discuss/545841/?ref=app
https://www.sololearn.com/discuss/488420/?ref=app
https://www.sololearn.com/discuss/481266/?ref=app
https://www.sololearn.com/discuss/510544/?ref=app
https://www.sololearn.com/discuss/433712/?ref=app
https://www.sololearn.com/discuss/619568/?ref=app
https://www.sololearn.com/discuss/599392/?ref=app
https://www.sololearn.com/discuss/481266/?ref=app
https://www.sololearn.com/discuss/478253/?ref=app
https://www.sololearn.com/discuss/540578/?ref=app
https://www.sololearn.com/discuss/504064/?ref=app
https://www.sololearn.com/discuss/510544/?ref=app
https://www.sololearn.com/discuss/296854/?ref=app
https://www.sololearn.com/discuss/474679/?ref=app
https://www.sololearn.com/discuss/445888/?ref=app
https://www.sololearn.com/discuss/423001/?ref=app