HTML for Beginners
HTML Inrtoduction
- 1) What is HTML?HTML stands for Hyper Text Markup Language. It is a language of World Wide Web. It is a standard text formatting language which is used to create and display pages on the Web. It makes the text more interactive and dynamic. It can turn text into images, tables, links.
- 2) What is formatting in HTML?The HTML formatting is a process of format the text for a better look and feel. It uses different tags to make text bold, italicized, underlined
- 3) How many types of heading does an HTML contain?The HTML contains six types of headings which are defined with the
to
tags. Each type of heading tag displays different text size from another. So,
is the largest heading tag and
is the smallest one. For example:
Heading no. 1
Heading no. 2
Heading no. 3
Heading no. 4
Heading no. 5
Heading no. 6
- 4) How to create a hyperlink in HTML?The HTML provides an anchor tag to create a hyperlink that links one page to another page. These tags can appear in any of the following ways: Unvisited link - It is displayed, underlined and blue. Visited link - It is displayed, underlined and purple. Active link - It is displayed, underlined and red.
- 5) What are some common lists that are used when designing a page?There are many common lists which are used to design a page. You can choose any or a combination of the following list types: Ordered list - The ordered list displays elements in numbered format. It is represented by
- tag.
Unordered list - The unordered list displays elements in bulleted format. It is represented by
- and
- tags are used to define description list.
- tag.
Definition list - The definition list displays elements in definition form like in dictionary. The
- ,
- 6) What is the difference between HTML elements and tags?HTML elements communicate to the browser to render text. When the elements are enclosed by brackets , they form HTML tags. Most of the time, tags come in a pair and surround content.
- 7) Does a hyperlink only apply to text?No, you can use hyperlinks on text and images both. The HTML anchor tag defines a hyperlink that links one page to another page. The "href" attribute is the most important attribute of the HTML anchor tag. Syntax Link Text
- 8) 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.
- 9) How to make a picture of 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 tag. Here, replace the "image.gif" with the name of your image file which you want to display on your web page.
- 10) What are the different new form element types in HTML 5?Following is a list of 10 frequently used new elements in HTML 5: Color Date Datetime-local Email Time Url Range Telephone Number Search
- 11) Which type of video formats are supported by HTML5?HTML 5 supports three types of video format: mp4 WebM Ogg
4iv>