在看ASP.NET 还需要了解一 下HTML
有这么几点 我认为很有必要知道的
1
Anything enclosed in angled brackets (< >) is a tag, which is interpreted by the browser. For example,
in the currency converter page, the Convert text is displayed directly, but the <input> tags represents
something else—a text box and a button, respectively.
2
HTML documents always start with an <html> tag and end with an </html> tag.
3
Inside the HTML document, you can place code, additional information such as the web page title, and the
actual web page content. The web page content is always placed between <body> and
</body> tags. The web page title is part of the information between the <head> and </head> tags.
4
Controls, the graphical widgets that users can click and type into, must always be placed inside a form.
Otherwise, you won’t be able to access the information the user enters. In ASP.NET, every control needs
to go inside the <form> tag.
5
The <div> tag, on its own, doesn’t do anything. However, it’s useful to use a <div> tag to group portions
of your page that you want to format in a similar way (for example, with the same font, background
color, or border). That way, you can apply style settings to the <div> tag, and they’ll cascade down into
every tag it contains. (The <div> formatting isn’t shown in this example, because it’s too long. However,
you can check out the online currency converter example to see the full list of style settings.)
6
Whitespace is ignored in HTML. This means spaces, line breaks, and so on, are collapsed. If you need
to explicitly insert additional spaces, you can use the character entity (which stands for
nonbreaking space). To insert line breaks, you can use the break tag: <br />.
如果你想了解更多的html知识
你可以到
http://www.w3schoools.com/html