Use the <span> element to style a part of the text with a different color.
EasyProblem Statement
Use the element to style a part of the text with a different color.
Sample Input
A span with inline style for color.
Sample Output
The webpage displays part of the text in a different color.
Limits
Time: 2s · Memory: 256 MB
Code Editor
Log in to submit00:00
Try your code in this preview. Submit marks it done.
<!doctype html>
<html></html>
Document
To view the HTML changes, please type the code within the editor