Home >Web Front-end >HTML Tutorial >CSS style: To set the color of several phrases in a paragraph to a different color than the text, use the span tag. _html/css_WEB-ITnose

CSS style: To set the color of several phrases in a paragraph to a different color than the text, use the span tag. _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:54:041395browse

<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>CSS样式的优势</title><style type="text/css">span{   color:blue;}</style></head><body>    <p>慕课网,<span>超酷的互联网</span>、IT技术免费学习平台,创新的网络一站式学习、实践体验;    <span>服务及时贴心</span>,内容专业、<span>有趣易学</span>。专注服务互联网工程师快速成为技术高手!</p></body></html>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn