0% found this document useful (0 votes)
15 views

WT Unit 1,2 Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

WT Unit 1,2 Questions

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 1,2 -Based on HTML,CSS

1. What is HTML?
HTML stands for Hyper Text Markup Language. It is a language of the World
Wide Web. It is a standard text
formatting language which is used to create and display pages on the Web. 2.

2.What are Tags?


HTML tags are composed of three things: opening tag, content and ending tag.
Some tags are unclosed tags.
HTML documents are made of two things:content, and tags
Content is placed between tags to display data on the web page.

3. Do all HTML tags have an end tag?


No. There are some HTML tags that don't need a closing tag. For example:
<image> tag, <br> tag.

4. What is the difference between HTML elements and tags?


HTML elements communicate to the browser to render text. When the elements
are surrounded by brackets
<>, they form HTML tags. Most of the time, tags come in pair and surround
content.

5. How to insert a copyright symbol on a browser page?


can insert a copyright symbol by using &copy; or &#169; in an HTML file.

6. How do you keep list elements straight in an HTML file?


You can keep the list elements straight by using indents.

7. Does a hyperlink only apply to text?


No, you can use hyperlinks on text and images both.

8. What is a style sheet?


A style sheet is used to build a consistent, transportable, and well designed style
template. You can add these templates on several different web pages.

9. Can you create a multi colored text on a web page?


Yes. To create a multicolor text on a web page you can use <font color
="color"> </font> for the specific texts you want to color.

10. Is it possible to change the color of the bullet?


The color of the bullet is always the color of the first text of the list. So, if you
want to change the color of the bullet, you must change the color of the text.
11. What is a marquee?
Marquee is used to put the scrolling text on a web page. You should put the text
which you want to scroll within the <marquee>......</marquee> tag.

12. How many tags can be used to separate section of texts?


There are three tags used to separate the texts. i.e. usually <br> tag is used to
separate line of texts. Other tags are<p> tag and <blockquote> tag.

13. How to make a picture a background image of a web page?


To make a picture a background image on a web page, you should put the
following tag code after the </head> tag.
1. <body background = "image.gif">
Here, replace the "image.gif" with the name of your image file which you want
to display on your web page.

14. What is the use of an iframe tag?


An iframe is used to display a web page within a web page.
Syntax: <iframe src="URL"></iframe>
Example: <iframe src="demo_iframe.html" width="200px"
height="200px"></iframe>
Target to a link: <iframe src="http://www.javatpoint.com"
name="iframe_a"></iframe>

15. What are the different new form element types in HTML 5?
Color
Date
Datetime-local
Email
Time
Url
Range
Telephone
Number
Search

16. Is there any need to change the web browsers to support HTML5?
No. Almost all browsers (updated versions) support HTML 5. For example:
Chrome, Firefox, Opera, Safari, IE

For more details:


https://www.javatpoint.com/what-is-html
https://www.javatpoint.com/css-tutorial

You might also like