HTML Tags Singleton – A single tag that has no corresponding closing tag Paired – A tag with a starting a closing tag. The closing tag is denoted by a leading ‘/’
HTML Tags ( Examples ) Singleton: – Paired: – Hello World – Great Class! – BYE
HTML Validation (HTML 5) Simple Page Hello World
Layout vs Style Either placed in the html file or a css file. This books will used HTML 5 – Therefore all pages used strict HTML For example, center, font and others are not allowed.
Questions! Word Wrap and White Space Line Breaks What is the HT in HTML? Absolute vs Relative Reference? What is a URL?
Forms First Form This is a simple HTML page that has a form in it. Hobby: <input type="text" name="hobby" value=""> <input type="submit" name="confirmButton" value="Confirm">
Query Strings A query string is appended to a URL and carries data that is being passed to a web application It takes the format name=value The ‘?’ character is used to separate the URL from the query string. It does not form a part of the query string Pairs are separated with the ‘&’ character Example: http://www.forReal.com/test.html?country=US A&State=FL
More about forms and JSP We will cover the rest of chapter 1 in the video lecture. The Video lecture for Chapter 1 will be posted either Saturday or Sunday. I will be posting a Java review as well. Finished Chapter 1 and read Section 2.1 for next Class We will have a quiz next week (Chapter 1) plus one Java question (from what we covered today.)