The tasks in this section use HTML code. You can demonstrate your understanding of key HTML ideas.
This is HTML task. To display a heading in HTML you need to use the heading tag. Using the <h1> tag and the <p> tag display your name in a heading and some text inside a paragraph tag. This could be any text you wish. You must submit your code with the correct structure. This […]
HTML tables are useful for layout. To make a HTML table you use <TABLE> <TR> <TD> tags. Lay out the following information in a table – Bert – 15 Sally – 12 Sue – 13 Fred – 15 You need to log in or create an account to submit code!
HTML is made up of tags and attributes. Attributes allow you to add extra functionality such as changing colour or adding javascript. <TABLE> <TR><TH> Name </TH> <TH> Age </TH></TR> <TR> <TD> Bert </TD> <TD> 13 </TD> </TR> <TR> <TD> Sally </TD> <TD> 12 </TD> </TR> </TABLE> Take the above code and add formatting. You can […]
In order to gather information using a webpage you can use <FORM> and <INPUT> tags. Create a simple form which will collect the following information – Name – Using a textbox Age – Using a textbox Likes pizza – checkbox or selection Make sure the INPUT boxes are surrounded by FORM tags. You need to […]
The anchor tag, <A>, allows you to create links to other pages. The anchor must have a HREF attribute. This contains the full link. Create a simple webpage which contains 4 links to your favourite websites. If you wish to you could organise them in a <TABLE>. In order to get the marks for this […]
Images can be linked into webpages using the <IMG> tag and the SRC attribute. Images are saved separately to the HTML code and so the SRC attribute must contain the address of where the image can be found. Create a table with two rows and two columns. Add a image to each table cell which […]
Create an HTML form that has 2 text boxes (Student first and last names), 1 radio button pair(gender) and 2 check boxes(IT and Computing). Your form must have a submit button. Now, use suitable tags to send the data you have collected to another page. You can use the default option that shows the name-value […]
Every website is a collection of several linked pages. The first page is the index or home page. In this exercise you are required to create at least 2-3 linked web pages. You are going to promote tourism in any location of your choice. The first page should be your home page. This page could […]
Use this piece of code and change it to add color to your webpage and make it look interesting. <HTML> <BODY> This is my colourful webpage </body> </HTML> Try using the bgcolor attribute for changing the background. Can you also change the color of the text itself? Now see if you can set the Title […]
Create an HTML form that has 2 text boxes (Student first and last names), 1 radio button pair(gender) and 2 check boxes(IT and Computing). Your form must have a submit button. Now, use suitable tags to send the data you have collected to another page but you must not show the data in the URL. […]