Html Css Javascripe JQuery crash experience support by Mr song < update > Fifth week based on your own knowledge

Source: Internet
Author: User
Tags tag name

I am a graduate student of software engineering, recently began to contact web design production. Due to time constraints I had to master the core of the system in a short period of time.

One of the teachers (20 programming experience) gave me a quick lesson to benefit. Here I caught dead again to summarize some of the personal experience, I hope to be helpful to everyone.

 

1th: Html Css javascripe jquery These 4 languages are written in the same text, not divided into several modules. They are all together for the rendering of the Web view and the realization of the function;

  

2nd:

1.Html: The backbone framework of Web programming, which is responsible for loading almost all the data on the Web page;

Enter different attribute data in the form of a label;

Main form: < tag name a> injected content: Contains text, pictures .... </tag names a> tags are usually paired, tags can be nested

<!--comments--

The main three parts

<body> </body> <!--the content of the Web page--

<body> main tab single label <div> a logical section <tab Le> Forms <a> Links <input> forms

2.CSS: Control the display style of HTML content: In font size, color, font bold

CSS is divided into three types: by priority level

inline > Embedded > External

Inline: Put in the start tag of some tags in <body>. <body> <p style= "color:red;font-size:12px";> input data </p> </body>

Embedded: Put in

External : Then create a new text named Style.css p{color:red;font-size:12px}

selector {style} <!--selector contains body,p,span-->

3.html, CSS Core: div plus CSS Layout

Box Model : The property names commonly heard in Web design: content, padding (padding), Border (border), border (margin), CSS box mode. These properties we can transfer it to our daily life in the box (box) to understand that the daily life of the box is a box that can be loaded, but also have these properties, so call it box mode. CSS box model is a kind of thinking model used in the CSS technology which is often used in web design.

Keep the elements in the Web page showing the same size in different versions of the browser, you need to divide the style of the div according to the situation;

HTML element Types can be divided into three categories: block-level elements can be defined to occupy a high space, non-block-level elements can not

Block-level elements: div p H1~H6, etc.

Non-block-level elements: ing span Li, etc.

Inline block level:

Document Flow: 1. Normal flow of documents: from left to right, from top to bottom (availability is small);

2. Floating document Flow: Float:left to the left floating right floating, (from the normal flow to the floating stream must be cut back to the normal stream, or the subsequent logical part will be floating positioning)

3. Absolute Flow:

Absolute positioning: Located in the upper-left corner of the block of the nearest location-capable parent (containing the position keyword), the body is the parent class

Relative positioning: (from the original position offset, the original seat to do reference points)

The div with position has relative positioning

4.Javascript (JS): A dynamic type, weak type, prototype-based language, built-in support type. Its interpreter is known as the JavaScript engine, a part of the browser that is widely used in the client's scripting language and does not need to be compiled

is divided into three parts:

ECMAscript (Syntax)

BOM (Browser object model)

Dom (Document Object Model) DOM is a subset of the BOM

Core features: Object-based Window.alert (a) object. method (parameter);

Need to call <script> </script> when put in HTML file

Example 1:

<script>

var a=1; <!--define a variable--

Window.alert (a); <!--call a cue box * * * *window******** is the top-level object can be omitted--

document.write (a); <!--display "1" in the browser--

</script>

    

Example 2:

JavaScript interacts with CSS:

<H1 id= "hh" >

Hello world!

<script>

var a=1;

var Hhh=document.getelementbyid ("hh");

var s=hhh.style.color= "#ff000"; <!--show the Hello World will have other colors--

</script>

</script>

Example 3:

Timer: window.setinterval (function, millisecond value)

Event-driven: Document.onclick ()
Definition class: Function Class1 () {Implementation action}


4.jQuery: The most

        

Html Css Javascripe JQuery crash experience support by Mr song < update > Fifth week based on your own knowledge

Related Article

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.