Introduction to the front end of programming language

Source: Internet
Author: User

We know that the front end of the website is made up of three large html,css,javascript.

Html: Responsible for the structure of the Web site (Hyper-text markup Language)

Many people think that HTML is not a programming language, it is just a label to show the structure of the site.

HTML can be divided into head and body two parts, they are written in the HTML tag.

A simple HTML structure:

[HTML]View PlainCopyprint?
  1. <! DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <metacharsetmetacharset= "utf-8" />
  5. title of < title > page </title>
  6. </head>
  7. <body>
  8. This place is the content of the website
  9. </Body>
  10. </html>

CSS: The style that is responsible for the site (cascading style sheets)

CSS is used to display the HTML Chengxiang to display the look.

CSS is usually written in an external file, can be written in the head, or directly in the tag element.

CSS syntax:

selector {

Attribute: property value;

}

JavaScript: Responsible for Web site behavior (scripting language)

JavaScript is also the first language of the Internet, and for any Web site, JavaScript is a big part of it.

Native JavaScript consists of three main parts:

Ecmascript:javascript Core language

DOM: Document Object Model

BOM: Browser Object model

There are more JS libraries, front-end frames, and follow-up will also be introduced.

Introduction to the front end of programming language

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.