JavaScript Editor
JavaScript Debugger|
| ||
Web forms are written in HTML, so to work with them (and customize them), you should have a working knowledge of HTML. They also include Active Server Pages (ASP) elements, but Visual Basic manages them for us, so it's less necessary to know ASP in detail. However, if you want to implement client-side scripting of HTML elements in your Web forms, you also should know a scripting language that the target browser can use, such as JavaScript. A good book for both HTML and JavaScript is the Coriolis HTML Black Book, which not only includes all HTML elements and how to use them, but also has a number of chapters on JavaScript, as well as how to use JavaScript with HTML controls. For reference, I'm including a quick listing of all the HTML tags in HTML 4.01 in Table 14.4.
You should be familiar enough with HTML to know, for example, that HTML elements start with an opening tag, <h1> here, and often end with a closing tag, </h1>, such as this example, where I'm creating an h1 heading with the text "Here is a heading!":
<h1>Here is a heading!</h1>
You also should be familiar enough with HTML to know, for example, that this <input> element creates a 40-character long text field with the name "text1", which can take 60 characters maximum, and that this input element has four attributes—type, name, size, and maxlength:
<input type= "text" name = "text1" size = "40" maxlength = "60">
| Tip |
For the sake of reference, I've written and included on the CD-ROM an HTML file (open it in your browser) named htmlref.html, which is a complete HTML element reference. It includes all the HTML 4.01 elements (and additional ones that are browser-specific), all their attributes, what they mean, where you can use them, and in which browsers. Hopefully, that'll be all the reference you need, but if not, check out a good book on the subject, such as the HTML Black Book referred to earlier. |
|
| ||
Free JavaScript Editor
JavaScript Editor