Home  >  Article  >  Web Front-end  >  HTML pages and CSS files_html/css_WEB-ITnose

HTML pages and CSS files_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:45:071061browse

HTML pages and CSS files, such as men and women.

Every HTML hopes to present itself to others with a friendly and eye-catching feeling. CSS can help HTML achieve this goal.

Although without CSS, HTML can also complete the same decoration by itself, but it may be a mess, unlike HTML with CSS, which separates content and decoration. But with only CSS, many desired effects cannot be seen.

There are some layout effects that cannot be achieved by HTML itself, such as pseudo-classes and combinations in CSS. Just think that if a man doesn't have a woman, he won't be able to show his responsibility to his family and his care for his lover.

When the HTML page and CSS file have been together for a long time, new things will continue to be added to the HTML page, and the CSS file will also continue to expand along with the HTML page. However, the HTM page will not escape the content of the CSS file. Its class is still the name in the CSS; the CSS file will only change its own content to make the HTML page better presented.

The HTML page thought that the CSS file would follow him forever, but he forgot that CSS can not only support this HTML page, it can also support other HTML pages, and it can also support XML Or even other formats. When one day, the HTML page could not find his CSS file, it became a mess and lifeless. People may never want to see HTML like this again.

Just like many men have common traits such as "a bit sexy" and "a bit macho", HTML also has common tags, such as ,

. CSS can set styles for these common attribute tags to adapt to every HTML page. Therefore CSS can be transferred from one HTML to another quickly.

But the HTML page may not be able to quickly accept another CSS file because he cannot find the classes he wants in her. That CSS file probably makes his layout look ridiculous. And in fact, the left CSS will not be very good on other HTML, because many of its beautiful effects (beautiful ideals) cannot be realized in that HTML.

Unless the HTML page is willing to change its class to correspond to the new CSS file, but many times it is because of habit or willfulness, or because it feels that it is not the result he wants, so he is always unwilling to make changes; or The CSS file is willing to change its own content for the HTML page, but how can she be willing to be a substitute for the former, and how can she be willing to give up the beauty she once dreamed of?

Sometimes, because of the beautiful memories, I always refuse to let go, thinking that maybe one day I can go back to that time. Just like sometimes, I am always reluctant to delete certain codes. At most, I just comment them out. Maybe one day, I will have the opportunity to use them again.

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