Website authoring
Website authoring
Website authoring
Behavior
The behavior layer to enter the scripting language to a webpage.
Table
2. Explain why tables are used to structure elements within a web page?
WorkSheet-1
Q1) Create a new style sheet in a suitable package. Set the style sheet so that each
table has:
1
WorkSheet-2
Q1) Create a new stylesheet in a suitable package.Set the stylesheet so that each table
has:
(The letters shown in this diagram are to help you place objects in the correct
table cells
and must not be visible in the final webpage.)
Q6) Attach the stylesheet saved in step 2 to this web page.
2
WorkSheet-3
Q1) Create a stylesheet defining all colours using hexadecimal values and the
following
styles:
Q2) Add your name, Centre number and candidate number to the bottom of
your stylesheet as a comment.
3
Q4) Using a suitable software package, create a new webpage called
back2.html.
Create a structure which will look like this, using a table:
(The letters shown in this diagram are to help you place objects in the correct
table cells
and must not be visible in the final webpage.)
Q5) Attach the stylesheet saved in step 3 to this web page.
WorkSheet-4
Q1) Create a stylesheet defining all colours using hexadecimal values and the
following
styles:
4
Q2) Add your name, Centre number and candidate number to the bottom of
your stylesheet as a comment. Save your stylesheet as Style2.css and place
a copy of it in your evidence document.
Q7) Set the cell padding and the cell spacing for the table to 4 and the width
of the table
to 100%
Q8)Below the menu, create a new table which has 4 rows and 2 columns.
(The letters shown in this diagram are to help you place objects in the correct
table cells
and must not be visible in the final webpage.)
Q10)Set the cell padding for the table to 4, the cell spacing for the table to 4
and the
width of the table to 100%.
5
Q11) Set the table border of this table to 1
• the text Hothouse Design can provide… high quality products. Into cell A
and format this as style h1
• the text We offer a… and much more. Into cell B and format this as follows:
We offer a range of products including: as style p
stationery as style li
computer hardware as style li
computer software as style li
computer consumables as style li
• the text You can contact us in many ways. Into cell C and format this as
style h3
• the text Through our website… of our services. Into cell E and format this
as style h3.
•the text Last edited by your name. Into cell D and format this as style h3.
WorkSheet-5
Q1) Using a suitable software package, prepare the following styles for use
within all
pages of this website:
• h1 – black, serif font, 36 point, centre aligned
• h2 – black, serif font, 18 point, centre aligned
• h3 – red, sans-serif font, 12 point, centre aligned, bold
• h4 – red, sans-serif font, 12 point, left aligned
• li – red, sans-serif font, 10 point, bullet points, left aligned
• p – blue, sans-serif font, 10 point, left aligned
Save the style sheet and attach it to each web page as you create it. Make
sure the
style sheet that you prepare will work in any web browser.
Q2) Print a copy of the style sheet in css format. Make sure that your name,
centre
number and candidate number are printed on this page.
6
Q4) Attach the external style sheet that you saved in step 1.
Q6) Below the heading, create a table which has 4 rows and 2 columns.
(The letters shown in this diagram are to help you place objects in the correct
table cells
and must not be visible in the final webpage.)
Q8)Set the cell padding for the table to 10, the cell spacing for the table to 2
and the
width of the table to 100%
• the text Peripherals include…CDs and DVDs. into cell B and format this as
follows:
Peripherals include as style p
printers as style li
scanners as style li
network and WIFI, as style li
and consumables like: as style p
cartridges as style li
specialist paper as style li
Blank CDs and DVDs. as style li
• the text You can contact us in many ways. Into cell C and format this as
style h3
• the text Through our website…of our services. Into cell E and format this
as style h4.
•the text Last edited by your name. Into cell D and format this as style h3.
7
Q11)Save the page as HOMEPAGE.HTM.
WorkSheet-6
1)
2) Print a copy of the stylesheet. Make sure that your name, Centre number
and
candidate number are printed on this page.
5) Replace the text Homepage with the heading Hothouse Design Ltd
Set the heading to style h1.
6) At the bottom of the page add the text Last updated by and add your
name,
Centre number and candidate number.
Set this text to style h3.
8
7)
10) Set the background colour of only the top row of the table to black.
11) Set the cell padding for the table to 20 and the cell spacing for the table
to 5
Set the table width to 100% and the height to 300 pixels.
13)Create hyperlinks from the text Contact us and from the image
N8CONTAC.GIF
to point to the file N8CONTAC.HTM which should open in a new window called
_contact
Note that the web page which you have linked to has not yet been created.
17) At the bottom of the page add the text Last updated by and add your
name,
Centre number and candidate number.
Set the text to style h3.
9
The hyperlinks from both text and image open N8CONTAC.HTM in a
new window called
_contact
2) In the text that ends …Holiday Company or by clicking here. make only the
words
clicking here a hyperlink to open the webpage http://www.xahc.co.uk in a
new window
called _manta
3) In the text that starts Email us for details of our Manta… make only the
word Email a
hyperlink to send an email message to tmcp@cie.org.uk with no subject
line.
4) In the same paragraph, make only the text click on this link a hyperlink to
send an email message to tmcp@cie.org.uk with a subject line Donation
by followed by your nameand candidate number.
6)Create a hyperlink so that the text clicking here to the anchor TOP
10
the hyperlink from the text click on this link sends an email to
tmcp@cie.org.uk with a subject line Donation by followed by your
name and candidate number.
2)Replace the text Place candidate details here with your name, Centre number
and candidate number.
3)Use the image placed in the left column (the road bike image) to create a hyperlink
to a new web page called roadbike.htm which will open in a new window called
_road
4)Create a hyperlink from the text Click here so that it sends an email message
to TC@cie.org.uk with the subject line Website Offers
that the hyperlink from the roadbike image opens the web page roadbike.htm
in a new window called _road
that the hyperlink from the text Click here sends an email message to
TC@cie.org.uk with the subject line Website Offers
that the hyperlink from the text Hothouse Design opens the web page
http://www.hothouse-design.co.uk in a new window called
_hothouse
the anchor TOP is created
the hyperlink from the text contact us to the anchor TOP.
Worksheet-9
11
2) Resize the image so that it is 1024 pixels wide. Maintain the aspect ratio of
the
image. Show a screenshot of this in the document you called Evidence in step
1.
Save this image as NXBACK2.JPG
3)Reduce the image resolution, if necessary, to ensure that the stored image
is no
larger than 250kb.
Save the image as NXBACK3.JPG
Show screenshot evidence of the file size of these images.
5) Crop off the right side of the image so that it is 400 pixels wide and 1000
pixels
high. Save this image as NXBOARD2.JPG
7)Replace the text Candidate name, centre number, candidate number with
your
name, Centre number and candidate number.
8) Change the html code so that the image NXBOARD2.JPG is 150 pixels wide,
maintaining its aspect ratio.
9) Replace the text Place anchor here with an anchor called TOP
10) Make only the words Click Here a hyperlink to the anchor called TOP
11) Select the most appropriate image to replace the words Ski holidays in
the bottom table.
16) Resize the image to 160 pixels wide and 160 pixels high.
12
17) Create a hyperlink from the image NXFOOTER.JPG to point to the website,
which
should open in a new window called _hosting
18)There are 3 stylesheets available for you to use. The first has been
attached to
the webpage already. Select the most appropriate stylesheet for this website.
Note down your reasons for selecting this stylesheet as you will need these
reasons later.
Worksheet-10
13
14
15
16
Worksheet-11
17
18
19
Worksheet -13
20
21
22
Worksheet-14-video
23
24
Worksheet-15
25
26
27