Web Programming and Applications (503073) : Lab 1 Prepared by Mai Van Manh
Web Programming and Applications (503073) : Lab 1 Prepared by Mai Van Manh
Objective: The goal of this week's exercises is to create simple web pages using common html
elements like tables, lists, forms, ...Inline-CSS code may also be covered in these exercises in
order to improve the look and feel of the UI.
1. HTML TABLE
Requirements:
1. All text contents are center aligned in every cell, both vertically and horizontally.
2. The merged cells are filled with a background color.
2. LOGIN FORM
Requirements:
1. Form elements should be placed inside a hidden table element.
2. Remove underlines from all hyperlinks (<a> elements).
3. Password is the required field.
4. If a valid email address is not entered, the form should not be submitted (HTML5 feature).
5. Try to fix all the error messages outputted by the server until you get this success message.
3. REGISTER FORM
Requirements:
1. All form control elements should be
left aligned.
2. For “Gender” field, only one option
can be selected at a time.
3. For “Favorite IDE” and “Message”
fields, their labels should be placed on
top of the section.
4. If Again button is clicked, all input
element values will be restored to
their default value.
- For toeic field: the maximum value is 990, minimum value is 5 and each step would increase
or decrease the value by a factor of 5.
- Try to fix all the error messages outputted by server until you get a result similar to this
screen:
4. ABOUT PAGE
The images should be responsive: their size will be increased automatically when we increase
browser size (and vice versa).