2. HTML

Source: Internet
Author: User
Tags button type html form tag name

The structure of the software:

software for C/s (Client Server) Architecture:

For example: QQ, need for Speed, fetion, Thunder


The disadvantage of the software of CS structure: When the user needs to download the update package and then install it, the programmer needs to develop the client and the server.

CS Structure Software Advantages: Reduce the pressure on the service side, but also can save a lot of data on the client.

b/S (Browser Server) Structure of the software:

For example: Weibo, WEBQQ, Web fetion, Web Thunderbolt

Advantages: Software version upgrades do not require users to download the update package, directly update the server program. Programmers only need to develop the service side.

Cons: Increase the pressure on the service side, the BS structure of the software can not save a lot of data on the user's computer.

Type of website:

Static Web site: The data in a static Web page is written dead, if you need to modify the content of the page is required to directly modify the page code. Is that there is no database to provide data to it.

Dynamic Web site: The data from the dynamic website is from the database, behind it is a background program to manage the data in the page.


The HTML language is the base language for developing Web pages:

HTML (Hyper-text markup Language)

Tags: the language of the gate is labeled to form. Learn HTML without how to understand, as long as you need to remember the role of tags.


Features of the HTML language:
1. The HTML language is platform-independent, and any platform can only be run with a browser installed.
2.html is case-insensitive.

The structure of the HTML language:



The body part of the <body></body> Web page


HTML comments: <!--The contents of the note--

HTML is shorthand for Hypertext Markup Language (Hypertext Markup Language), which is the most basic web language
Hypertext: The data on the page can be changed by the label, and can be skipped directly to the next page via hyperlinks.
Tags: HTML is a language defined by tags, and the code is made up of tags.
Platform-independent, as long as the browser is installed, you can use the browser to parse the data
Edit HTML, HTML is actually a text file, the normal text file suffix is the HTML or HTM, through the browser can be resolved

Lhtml: is case insensitive
HTML is started by The <body> tag contains the data that is actually displayed.

Label

? Tagged elements for Web pages with special meanings? format:< start tag > label body </end tag >l category? Label with label such as: <p> XX </p> label without label such as: <br/ tags should appear as pairs of properties

The name that is written on the start tag = "value" pairs the property that represents the label <font color= "Red" ></font>.

? A label can have more than one property, and multiple attributes are separated by a space. Note: Property values are best used in single or double quotation marks. Note?<!--I am annotation--Text LabelsTitle (H1~H6)? Horizontal (HR)? paragraph (p)? Subscript (SUP and sub)? Line wrap (BR)? Serialized table Ol Li, unordered list ul li? item List label (DL DT DD)? Inline label (SPAN)? Block label <div&  Gt L link tags? Jump: <a href = "Resource path" target= "_blank"; Mail: <a href= "Mailto:email" &GT;&LT;/A&GT; Location: <a name= "#标记名" > </a> and <a name= "tag name" > image label:? use as a heat map

<area shape= "rect" coords= "50,59,116,104" href= "1.html"/>

<area shape= "Circle" coords= "118,203,40" href= "2.html"/>

? </map>

Tabel form

Title Tags: <caption>, give the table a title. Header tags: <th> generally formatting the first or first column of a table is displayed in bold. Not used. Row label:<tr> cell Label: &LT;TD&GT;, loads the inside of the row label. It can be simply understood that there are rows first, and cells are added to the row.

HTML Frame Tags

In a picture? Picture Label format: IFRAME frame label? Frameset and Frame tags? Frameset properties: Rows, Cols, Frameborder?frame properties: units in noresizehtml? Absolute units 1px font unit +1 10%? Relative unit 20% (unit of calculation)HTML FormForms, which are primarily responsible for data collection in Web pages, such as the ability to collect visitors ' names and e-mail addresses, questionnaires, guestbook, etc. Form Tags: <form action= "" method= "" enctype= "" ></form>? form fields: <input type= "" Name= ""/&GT;? form button: <inpu T type= "submit" Name= "..." value= "..."/> common form fields? Text field <input type= "text" name= "" value= ""/&GT;? password field, hidden field type =  "Password"? radio button Type=radio radio buttons must be grouped, grouped by the label Name property, the value of the Name property has to be the same.? The multi-select button type =checkbox, the Name property of the multi-select button must be the same. File selection box Type= "File"? drop-down list <select ><option>? text input field <textarea> define its column according to COLS, rows defines the number of lines in the text box? Button type=the difference between get submission and post submission

Get

Post

The submitted content will be displayed in the browser address bar

The submitted content is not displayed in the browser address bar

The size of the submitted data is limited by the address bar

Data cannot exceed 1KB

Submitted data is not restricted by the address bar

Not secure when submitting sensitive data

More secure when submitting sensitive data

2. HTML

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.