Assignment7
Due: 10/28, Tuesday, in class.
Design a webpage which shows all even numbers less than 100.
Assignment6
Due: 10/21, Tuesday, in class.
Design JavaScript using if-else statement:
If the system time is less than 12, the html file shows "Good Morning!"; if it is between 12:00pm to 9:00pm, the file shows "Good Afternoon!"; otherwise, the file shows "Good Evening!".
Assignment5
Due: 10/2, Thursday, in class.
1. Write the code in CSS file to define the body with background-color to be yellow, and text-align to be center.
2. Two classes are defined in CSS file as follows:
p.right {text-align:right}
p.center {text-align:center}
In corresponding HTML, apply these classes to set a paragraph to be aligned right, and another to be aligned center, as shown in following picture.
This is aligned right.
This is aligned center.
Assignment4
Due: 9/18, Thursday, in class.
Write down correct code according to below tasks:
1. Insert a image from website "http://www.abc.com/123.jpg", and set width be 200, height be 100;
2. Set background color to be blue;
3. Make the following text result:
Red Blue Black
4. Build a table:
1
2.5
3
3.5
2
4
5. Make a ordered list using tag <ol>.
Steps:
right
right
left
Assignment3
Due: 9/9, Tuesday, in class.
Step1. Create a HTML file named "abc.html".
Step2. Create a HTML file named "index.html" with content:
Once you click "hyperlink", the content of abc.html will show up.
Step2. Add one more hyperlink to file index.html
Once you click "hyperlink", the content of website "www.google.com" will show up.
Assignment2
Due: 9/4, Thursday, in class.
Using text formatting tags <b>, <i>, <big>, <small>, <em>, <strong>, <sub>, <sup>, <ins>, <del>, <pre>. And email Dr. Jiang the source code.
Assignment1
Due: 8/28, Thursday, in class.
1. Design the first homepage with title "First" and content "This is my first homepage." (Hint: using tags <html>, <head>, <title>, <body>)
2. Using tags <h1> to <h6>, <p>, <br>, <hr>, <!-- comments -->.