CSS Tutorial - Application of CSS_Basic Tutorial

WBOY
Release: 2016-05-16 12:05:14
Original
1489 people have browsed it



1. In-line

Inline style uses the style attribute directly in the html tag


text
Set the paragraph text to red.
But remember that the final HTML should be independent of the presentation document, so inline styles should be avoided everywhere.

2. Internal

Use the internal style embedded in the entire page in the head tag, and the style tag surrounds the style.


br>"http://www.w3.org/TR/xhtml1/DTD/xhtml1 -strict.dtd">


CSS Example
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!