Instructor Niu mentioned in the videoCSSWith the simple operation of the video, I realized some of the benefits it brought to the design. After all, I just got in touch with this part. Let's talk about it below.CSS
CSS Is a set of feasible , Funny webpage maintenance methods , Help web designers maintain a large number of pages in a unified manner without the need for a large number of complex adjustments to each page . Its core concept is the separation of performance and structure. , That is to say, to make the page structure organized and hierarchical Html Complete , How to present the content is determined CSS Completed
The simplest example , We want to display " Information Technology Improvement Course of Langfang Normal University " Several Characters , To be conspicuous I also set the font of these words , Color , Whether to bold or not. . This completes a simple function of displaying text on a webpage. . So CSS What have you done? ? Font set , Color and other attributes are completed. . Easy to use
Of course, these jobs can also be Html Directly , However, the current web pages are generally rich. , Image , Audio , Colorful videos and things , Once you want to modify something, it will bring a lot of trouble to you. , The trouble is enough, but the trouble is meaningless. , So CSS Is a good partner for web designers. .
SummaryOfDescriptionIts advantages:CSSCodeMore optimized, saving bloated code for better webpage layout,HtmlAll of them use the various attributes of tags to define the effect to be displayed. The Code will be much more complicated and will be difficult to maintain in the future.
Of course, it also has some shortcomings.: ratio table difficult to understand and write, If none HTML , CSS There is no need, but the advantage is greater than its disadvantages , negligible .