Seventh Week assignment

Source: Internet
Author: User

Question 1:

What is the difference between Strok and fill in the canvas?

HTML5 divides the graph into two categories: the first is called a stroke, which is the outline, outline, or line. In short, the graph is composed of lines; the second class is called Fill, which is the filled area. There are two ways to draw a rectangle in the context object, which allows us to understand the difference between the two types: one is strokerect and the other is fillrect.

Question 2:

CSS in the Web page production generally have four ways of usage, specifically in the use of what should be used?

When there are more than one Web page to use CSS, the use of external CSS files, so that the code of the page can be greatly reduced, it is very convenient to modify the CSS used only in a single page, the way to embed the document header, and for only one page in one, two places to use the CSS, The inline insertion method should be used.

Reference: "HTML+CSS3 Web design and production case Class"

Seventh Week assignment

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.