web从零学起记录--html1.1-表单

WEB初学者最重要的三门外语好吧:html、css、javascript.

这些都自然在W3School上学。

这里就从html表单方面记起吧,前面也没什么好说的,html就是一种标记语言,站上也讲得很简单,这里就先把它上面的常用标签贴出来:

HTML 4.01 快速参考

  • HTML 文档类型

来自 W3School 的 HTML 快速参考。可以打印它,以备日常使用。

HTML Basic Document



Document name goes here


Visible text goes here


Text Elements

This is a paragraph


(line break)
(horizontal rule)
This text is preformatted

Logical Styles

This text is emphasized
This text is strong
This is some computer code

Physical Styles

This text is bold
This text is italic

Links, Anchors, and Image Elements

This is a Link
Alternate Text
Send e-mailA named anchor:
Useful Tips Section
Jump to the Useful Tips Section

Unordered list

  • First item
  • Next item

Ordered list

  1. First item
  2. Next item

Definition list

First term
Definition
Next term
Definition

Tables

someheader someheader
sometext sometext

Frames


  
  

Forms

Entities

< is the same as <
> is the same as >
© is the same as ©

Other Elements


Text quoted from some source.
Address 1
Address 2
City

Source : http://www.w3school.com.cn/html/html_quick.asp


HTML表单:

看了相关知识后,我用代码实现了一些简单的功能如图所示,足以解释表单知识:

web从零学起记录--html1.1-表单_第1张图片

代码如下:仅供本人菜鸡观赏而已

 
 
 
	
Personal information First name:

Last name:


Male
Female

I have a bike
I have a car

Birthday:

Quantity (between 1 and 5):


选择图片
Assistant User name:
User password:




你可能感兴趣的:(Web)