Web Technology Revision-Answered
Web Technology Revision-Answered
Code 1:
Ans:
<!DOCTYPE html>
<html>
<head>
<style>
table,th,td{
border: 1px solid black;
Ans:
<!DOCTYPE html>
<html>
<head>
<style>
body{
background-color: orange;
}
printf("enter an integer");
scanf("%d", &number);
printf("you enterd %d",number);
return 0;
}</i></b>
</pre>
<img src="/adsadsa.png" width="100px" height="100px">
Code 3:
Ans:
<!DOCTYPE html>
<html>
<head>
Code4:
a) True
b) False
H6 is largest headline?
<ul type=”disc”>
<li>Coffee</li>
<li>Tea
<ul type=”circle”>
<li>Black tea</li>
<li>Green tea</li>
</ul>
</li>
<li>Milk</li>
</ul>
a) Local scope
b) Global scope
c) Undefined
if (i > 15)
document.write("Good");
else
document.write("Bad");
a) Good
b) Bad
c) Error
d) Exception
<script>
const person = {
firstName: "John",
lastName : "Doe",
id : 5566};
document.getElementById("demo").innerHTML =
person.firstName + " " + person.lastName;
</script>