Current Affairs 10th Class

*           How to Create Definition List The lists and explanation of the terms comes under the definition lists.   *               The tags which are used to create definition list are the following: v  Starts with the definition list <dl> tag. v  The <dt> tag is used for the definition list term. v  The <dd> tag is used for the definition list definition starts. The following syntax is used to create a definition list: <dl> <dt>this is definition term <dd>this is definition</dd> </dt> </dl>   Question.jpg     Which one of the following statements is true? Statement A: <hr> tag is used to insert horizontal line. Statement B: <hl> is used to insert horizontal line. (A) Statement A is correct                            (B) Statement B is correct (C) Both statement A and B are correct  (D) Neither statement A nor statement B is correct (E) None of these   Answer: (a) Explanation Correct Option: (A) Only statement A is correct. Incorrect Options: Therefore, option (A) is correct and rest of the options is incorrect.     Which one of the following statements is true about changing background colour? (A) bgcolor attribute allows changing background colour. (B) The attribute values are always given in double quotes. (C) A (#) is put before the value, when the colour value is specified the hexadecimal notation. (D) All of these (E) None of these   Answer: (d) Explanation Correct Option: (D) All statements are true about changing background colour. Incorrect Options: Therefore, option (D) is correct and rest of the options is incorrect.           Steve is developing a Web page that shows the steps for creating login id and password. He wants to show these steps in order list. Which one of the following tags Steve will use to create order list? (A) <li>                                                                 (B) <ol> (C) <dl>                                                                (D) All of these (E) None of these   Answer: (b) Explanations Correct Option: (A) The ordered list is also known as numbered lists. The order number can be alphabetical or numeric and that can be either a lower case or upper case. By using <ol> tag ordered list is created. Incorrect Options: Therefore, option (B) is correct and rest of the options is incorrect.   *                Introduction of Links The page of a website is connected through the links. By clicking a link, a user navigates to a new page of a website. You can break a long document into multiple cages which allows you to navigate from page to page easily, and this can only be done through the links. Basically links are having two basic components and these are Targets and Links.   *                How to Use Anchor Tag The main element of the hypertext links in HTML is the anchor tag <a>. To connect one document to another document, it more...

*   How to Create Definition List   The lists and explanation of the terms comes under the definition lists.   * The tags which are used to create definition list are the following: 
  • Starts with the definition list <dl> tag.
  • The <dt> tag is used for the definition list term.
  • The <dd> tag is used for the definition list definition starts.
  The following syntax is used to create a definition list: <dl> <dt> this is definition term <dd> this is definition </dt> </dl>     Question.jpg    Which one of the following statements is true? Statement A: <hr> tag is used to insert horizontal line. Statement B:  <h1> is used to insert horizontal line. (A) Statement A is correct                            (B) Statement B is correct (C) Both statement A and B are correct  (D) Neither statement A nor statement B is correct (E) None of these Answer: (a) Explanation Correct Option: (A) Only statement A is correct. Incorrect Options: Therefore, option (A) is correct and rest of the options is incorrect.      Which one of the following statements is true about changing background colour? (A) bgcolor attribute allows changing background colour. (B) The attribute values are always given in double quotes. (C) A (#) is put before the value, when the colour value is specified the hexadecimal notation. (D) All of these (E) None of these Answer: (d) Explanation Correct Option: (D) All statements are true about changing background colour. Incorrect Options: Therefore, option (D) is correct and rest of the options is incorrect.          Steve is developing a Web page that shows the steps for creating login id and password. He wants to show these steps in order list. Which one of the following tags Steve will use to create order list? (A) <li> (B) <ol> (C)  <dl> (D) All of these (E) None of these   Answer: (b) Explanations Correct Option: (A) The ordered list is also known as numbered lists. The order number can be alphabetical or numeric and that can be either a lower case or upper case. By using <ol> tag ordered list is created. Incorrect Options: Therefore, option (B) is correct and rest of the options is incorrect.     *  Introduction of Links The page of a website is connected through the links. By clicking a link, a user navigates to a new page of a website. You can break a long document into multiple cages which allows you to navigate from page to page easily, and this can only be done through the links. Basically links are having two basic components and these are Targets and Links.   * How to Use Anchor Tag The main element of the hypertext links in HTML is the anchor tag <a>. To connect more...

*  How to Insert Horizontal Line     To create a simple straight line on a page horizontal line is used. It is basically c graphical image which acts as dividers and separates pages into sections. It generally provides the different types of visual separation which clearly defines the sections of a page. The tag which is used to insert the horizontal line is <hr> tag. It can be of different lengths and sizes.     * Horizontal lines are the following: 
  • Lines with different widths.
  • Lines with different thickness.
  • Lines without 3D shading.  
The following attributes of horizontal <hr> tag are used to create the different I types of horizontal lines:     * Width The line width is specified by the width attribute of <hr>tag. To create the horizontal line with different width, the following syntax is used: <hr width = x> or <hr width= y%>   * Size The length of a line is specified by the size attribute of <hr>tag. To create the horizontal line with different size, the following syntax is used: <hr size=n>   * Align The alignment of the line indicates by the align attribute of <hr>tag. The syntax which is used to create the horizontal line with the different alignment is the following: <hr align ="center/left/right">   * Shading To display a horizontal line without 3D shading effect the noshade attribute is used inside the <hr> tag.   * Color The colour of the horizontal line is defined by the colour attribute of <hr>tag. In two ways the value of colour attribute can be assigned: by colour code or by colour name in RGB (Red Green Blue). The following syntax is used to create the coloured horizontal line: <hr color="color name/color code">   * How to Use Line Break To break a line, the line break is used. Whenever you need to break a line the < br>tag is used to break it in paragraph, but a new paragraph is not started by this. Without using the additional space you can create a new line by using <br>tag.     * How to Insert Comments To insert a comment in a source code that is ignored by the browser the comment tag is used, to understand the code it is very helpful. To open a comment (<! ?) this sign is used and it is closed with (- - >) this sign.     * How to Create Lists To itemize the information in a concise format, the list makes it easy. It is used to present the elements in an attractive way and very clearly so that the user can read as well as understand it easily.     * You can create three types in HTML

*  How to Apply Bold and Italics   While designing a web page, sometime there is a need to emphasis little text in the web page to get the attention of the user for that particular text. Thus HTML provides two tags for this purpose: 1. <i> tag:-ls basically used to italicize the text written between opening and closing <i>  tags. 2. <b>tag:-ls basically used to create bold text written between opening and closing <b>tag       Question.jpg      Which one of the following HTML editors is used to automate the whole process of site design and implementation? (A) Netscape                                     (B) Microsoft Front page (C) Adobe Page Mill                                        (D) All of these (E) None of these     Answer: (c) Explanation Correct Option: (C) Adobe page Mill is used to automate the whole process of site design and implementation. Incorrect Options: Therefore, option (C) is correct and rest of the options is incorrect.         Jack was developing a Web page. He wants to use black colour in a label. Which one of the following hexadecimal values Jack can use in HTML coding? (A) #000000                                                        (B) #00000 (C) # FF0000 (D) #FFFF00 (E) None of these     Answer: (C) Explanation Correct Option: (C) The hexadecimal value of black colour is #000000 ncorrect Options: Therefore, option (C) is correct and rest of the options is incorrect.          Which one of the following HTML editor comes with WYSIWYG? (A) Adobe Page Mill                                        (B) Netscape Composer (C) Microsoft Front page                              (D) All of these (E) None of these   Answer: (b) Explanation Correct Option: (B) Netscape Composer editor comes with WYSIWYG. Incorrect Options: Therefore, option (B) is correct and rest of the options is incorrect.

*  Changing Background Color     The contents of the Web Page are always written inside thetag. The background colour of a web page is changed through the bgcolor attribute which is provided by HTML. The HTML element contains attribute as its characteristics, which generally modify the behaviour of that element. The attributes values are always given in double quotes. Syntax used for background colour attribute is:   <body bgcolor="value">   The value to the bgcolor attribute can be assigned either by specifying the hexadecimal value of the colour or by specifying the name of the colour. A (#) is put before the value, when the colour value is specified the hexadecimal notation. The following table lists some important colours along with their values in hexadecimal notation: Color                     Hexadecimal Value Black                      #000000 Red                        #FF0000 Parrot green         #00FF00 Blue                       #0000FF Yellow                   #FFFF00 Sky blue               #00FFFF Pink                       #FF00FF Grey                      #C0C0C0 White                    #FFFFFF

*   Creating Paragraphs     In formatting a text inside a Web page Paragraphs played an important role. For creating a paragraph HTML provides <p> tag. It is used to control the line spacing between the paragraphs and also within the paragraphs. The starting and ending of any document is done under <p> tag. The start is done through <p> tag whereas ending is done through </p> tag.   The following code snippet shows how to create a paragraph: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML. 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Student Personal Record </title> </head> <body> Student Personal Record page maintains the personal information of each student. Personal information includes name, father name, address, and phone number. This page also has educational background of each student. </body> </html>     * Using Headings HTML enables six predefined levels of heading. The number for headings contains under <h> tag, which is basically used to define the level of headings. The tag which defines the highest level is <h1> and the lowest level of headings is <h6> tag.   The following code snippet shows different levels of heading: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML. 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Student Personal Record </title> </head> <body>   <h1> Level 1</h1> <h2> Level 2</h2>  <h3> Level 3</h3> <h4> Level 1</h4> <h5> Level 1</h5> <h6> Level 1</h6>   </body> </html>  

*   Adding Title to a web Page     The <title>tag allows adding title to a Web page. It is inserted in the head section of the page. In the caption of the browser the title of the web page is displayed, between the openings and closing <title> tags the title of the web page is written. The following code snippet shows how to add title to a Web page: <!DOCTYPE HTPL PUBIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">  <html>  <head>  <title>Student Personal Record </title> </head> </html>  

*  Introduction to HTML      HTML language is developed by Tim Berner-Lee at CERN (Consiel European pour la Research Nuclear) to enable permit the researchers to share their research papers with the help of the Internet. Generally all the browsers are supporting HTML but basically the HTML was used by Mosaic Browser. The HTML 1.0 is the first version of HTML, whereas continuous growth of Web extended HTML growth in several other ways. World Wide Web (W3C) is the organization which did not specify the first version of HTML. This organization maintains the language and keeps involving it in proper direction. Latest version of HTML is HTML 4.01 which is in general use and is the sub version of HTML4.0. The errors which are occurring in HTML4.0 have been fixed in this version. The whole HTML document comes under the <html>tag which is used as a container. The entire content of the HTML page comes under the opening and closing of the <html>tags. This <html>tag indicates the browser this is the starting of the document and the closing </html>tag indicates that it's the ending of an HTML document.             The following is the syntax:  <html> ................ Contents mentioned in the page ................  </html> For the heading of the HTML document the tag which is used is<head>tag. The information contains some certain headings regarding documents that come under this. There are only few tags which are valid under the heading section. These are the following: <link>tag : Defines reference for the resource. <base>tag : Defines a base URL for all the links present on a page. <meta>tag : Defines the Meta- Information such as keyword and descriptions for search engines and refresh rates about the page. <script>tag: The HTML page uses the script which is defined by this tag. <style>tag: Defines the internal style sheet for the HTML page. The contents o the HTML document describe under the <body>tag. The contents of a web page whatever are they defined between the opening and closing of the <body>tag, it may be a text, audio, video and images all comes under this tag.    

*  Introduction to WWW   The World Wide Web (WWW) was created by Tim Berner-Lee and Robert Cailliau in 1989. A user can be connected to the Web using either a dial up connection or a broadband.       * The Web provides the following advantages: 
  • Easily modification and update.
  • 24 hours, seven days operation.
  • Attractive GUI that helps to engage use.
  • Direct product ordering
  • Search engines deliver clients.
  • Provides Linking to other pages.
  • Rapid development of new product, service and organization information.
There are number of HTML editors available for creating Web pages. Some of these are:       * Netscape Composer It is an editor, which comes with the Netscape Communicator or WYSIWYG.   * Microsoft Front page It is also an editor contained in a powerful package, which directly integrates with the Web site.   * Adobe Page Mill It is used to automate the whole process of site design and implementation.   * Claris Home Page It is an editor with WYSIWYG for beginners with some additional tools.  

*   Inserting a Style Sheet     CSS enables three ways to insert a style sheet:
  • Inline style
  • External style sheet
  • Internal style sheet  
  * Inline style Use this method carefully because it mixes the content with presentation. To use inline style you need to use the style attributes in the relevant tag. The following code snippet shows how to change the colour and right margins of given text: lndia is the greatest country.   India is the greatest country.   * External style sheet An external CSS style sheet contains CSS style rules. These rules are applied to HTML element on Web pages.     * To add an external CSS style sheet: 
  • Select the Web project.
  • On the Project menu, click Add New Item to open the Add New Item dialog box.
  •  Select the Web Project Items in the left pane.
  •  Select the Style Sheet icon in the right pane.
  •  Enter a name for your new style sheet in the Name field.
  •  Select Open.
The following code snippet shows how to add external style sheet:  <head> <link rel="stylesheet" type=" totaltext/css" href="p.css"> </head>   * Internal style sheet CSS allows using internal style sheet when a single document teas a unique style. For this you need to define internal styles in the head sector with the  <style>tag. The following code snippet shows how to use internal style sheet: <head> <style type="text/css">         Question.jpg        CSS enables three ways to insert a style sheet. It allows using __usingsheet when a single document has a unique style. (A) Internal style                                              (B) External style (C) Inline style                                                   (D) All of these (E) None of these     Answer: (a) Explanations Correct Option: (A) CSS allows using internal style sheet when a single document has a unique style. Incorrect Options: Therefore, option (A) is correct and rest of the options s incorrect.          ID selector is used for specifying single, unique elements. An ID selector is assigned by using assigned by using the indicator...... to precede a name. (A) "#"                                                                  (B) # (C) *                                                                      (D) "*" (E) None of these     Answer: (a) Explanations Correct Option: (A) An ID selector is assigned by using the indicator "#" to precede a name. Incorrect Options: Therefore, option (A) is correct and rest of the options is incorrect                  Which one of the following statements is true about cascading order? (A) If two rules have the equal weight, the last specified rule wins (B) If two rules have the equal weight, the first specified rule wins (C) If two rules have the equal weight, then both are destroyed (D) All of these (E) None of these     Answer: (a) more...


You need to login to perform this action.
You will be redirected in 3 sec spinner