Uploaded by msarwarpk1986

Answer Worksheet1

advertisement
2023/2024 AD
Grade: 8
Worksheet No.:
Student:
__________________________________________________________________________________________
Q1: Fill in the blanks by choosing the right one from the brackets: (<p
align=center> , /Script , cooper , JavaScript , document.write , </p> , Script ,
0000ff , head , /title).
1- Using JavaScript, create a program to print this sentence (welcome to my
page) with blue color, font type (Cooper), font size (16) and be in the middle
of the line.
<html>
<head><title>welcome</title></head>
<body>
<Script language="JavaScript">
document.write("<p align=center><font color=0000ff size=16
face=cooper>Welcome to my page</font></p>");
</Script>
</body>
</html>
__________________________________________________________________________________
Teacher
Mr. …………………..
Head of Department
Mr. ……………….
Academic Principal
Mr.Ahmed Alabbasy
Page 1 of 1
Download