Small understanding of CSS and JS

Source: Internet
Author: User

Small understanding of CSS and JS
??

What is CSS?

Cascading Style Sheet (CSS) is a markup language used to control the webpage Style and allow the Style information to be separated from the webpage. In my understanding, CSS is used to separate the representation from the structure, which makes later modifications easier.

 

The focus of CSS is the core mechanism-the Box Model

Layout highlights and difficulties-floating and positioning

 

Another purpose of CSS layout is to make the code easy to read, and the block clearly strengthens code reuse, so the structure is very important.

CSS layout first considers the semantics and structure of page content reading.

Page control methods, selector, CSS typographical concepts

 

 

Why add JS to front-end pages,

The Web scripting language has been widely used in Web application development. It is often used to add a variety of dynamic functions to webpages to provide users with smoother and more elegant browsing effects. Generally, JavaScript scripts implement their own functions by embedding them in HTML.

 

This is because I wrote some summaries after reading a video a long time ago. At that time, I just wrote down my understanding. It was not very complete and a little messy. Next correction.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.