Why are comment included in HTML document? With the help of an example, -Technology

1 Answer

Answer :

Comments are inserted in HTML code with the help of <!—….—> tag. To insert the text as a comment, type the text between <!– and —> tag, then that text will be ignored by the browser and invisible for the user.e.g.<HTML><BODY><!--This is a comment.-->This is a book</BODY><HTML>

Related questions

Description : Where can a comment be placed in an HTML document? How is it useful? -Technology

Last Answer : Comments are inserted in HTML code with the help of tag. To insert the text as a comment, type the text between tag, then that text will be ignored by the browser and invisible for the user.e.g.This is a book

Description : What is the method of using comment line in the HTML code? -Technology

Last Answer : In HTML code, the comment line is declared as

Description : How do you give a comment in HTML? -Technology

Last Answer : Comments are inserted in HTML code with the help of tag. To insert the text as a comment, type the text between tag, then that text will be ignored by the browser and invisible for the user.e.g.This is a book

Description : What do you mean by comments? How review comment is done in Word document? -Technology

Last Answer : Acomment is a note or annotation that an author or reviewer can add to a document. Microsoft Word displays the comment in the Reviewing pane or in a balloon in the margin of the document

Description : HTML is a markup language for describing Web document. HTML uses (a) pre_specified tags (b) user defined tags -Technology

Last Answer : (d) HTML uses fixed tags defined by the language.

Description : Why do we insert comments in an HTML document, even though they are not displayed on a Web page? -Technology

Last Answer : So, that user will be able to understand coding effects and meaning.

Description : Which of the following tag identifies the document as an HTML document? (a) -Technology

Last Answer : (a) tag identifies the document as an HTML document.

Description : tag is one of the structural tags of HTML document. -Technology

Last Answer : True HTML provides four structural tags, these are as follows:, , , .

Description : All HTML document contains only tag. -Technology

Last Answer : False All HTML document contains various tags.

Description : The color of the hyperlinks in an HTML document can be changed. -Technology

Last Answer : True We can change the color of hyperlinks in HTML document.

Description : Write two points of difference in HTML and XML. Write three points of well_formed XML document. -Technology

Last Answer : Two points of difference between HTML and XML follows:HTMLXMLHTML is a markup language thatcreates the form andappearance of the Web page.XML is a text-based markup language ... and closing tags.3. XML attributes values, should be in double quotation marks.TableWood751stChairPlastic85IInd

Description : Write two points of differences between XML and HTML. What is meant by a well_formed XML document -Technology

Last Answer : The differences between XML and HTML are as follows:1. HTML has predefined tags while XML has user-defined tags.2. HTML document can be viewed directly by the Web browser while XML document cannot be ... tags are case sensitive.The XML code is Singapore 200000 8 Aeroplane Shimla 10000 4 Bus

Description : DTD is a set of rules that defines what tags appear in an HTML document. -Technology

Last Answer : False DTD is used in XML documents.

Description : Give the example for putting a comment in the HTML page? -Web-Development

Last Answer : answer:

Description : How are comments inserted in HTML code? Explain with an example. -Technology

Last Answer : Comments are inserted in HTML code with the help of tag. To insert the text as a comment, type the text between tag, then that text will be ignored by the browser and invisible for the user.e.g.This is a book

Description : An example of HTML editor is (a) Notepad (b) Dreamweaver -Technology

Last Answer : (d) HTML provides various text editors like Notepad, Dreamweaver etc.

Description : Write an simple HTML code to show an example of internal linking. -Technology

Last Answer : Internal LinkingIt is top of the page Top

Description : What is the use of tag in an HTML table? Give a suitable example. -Technology

Last Answer : The tag creates a table row in an HTML table. A table must have atleast one row and also, it can have as many table rows as you want. A table row is divided into table cells. A table must have atleast one table cell per table row.e.g.CheadXtitle> TR Tag

Description : Explain with a help of an example, how root elements are placed in a XML document? -Technology

Last Answer : XML documents must contain one element that is the parent of all other elements. This element is called the root element. The root element encloses all other elements in XML. All other elements inside the ... then comes the child element which in turn stores the and of the employee in the tags.

Description : A well_formed document must have a root element. Explain with an example. -Technology

Last Answer : To create a well-formed XML document, it is necessary for it to have a root element. A root element is a unique element that contains all other elements in the XML document.The XML document cannot ... India The preceding code is not a well-formed document, since it does not contain aroot element.

Description : Write the DTD for the following XML document: -Technology

Last Answer : ]>

Description : Comment in XML can be given by: -Technology

Last Answer : The correct answer is(b)

Description : “Internet can affect the privacy rights of a person.” Comment. -Technology

Last Answer : A person's Internet usage and transactions done by him/her online provides a large amounts of information which provides insight into that person's interests and other vital information about the person ... , a person with malicious intent can easily invade in some other person's privacy online.

Description : Vani, a class X student has recently completed her HTML course and just started learning XML. Help her in the following: -Technology

Last Answer : (i) Primary purpose of HTML is to design a webpage while XML is used to store and transport the data.(ii) Right(iii) Comments are added as notes or lines for understanding the purpose of an XML ... .Syntax for comments are as follows:(v)An XML document with correct syntax is called 'Well Formed'.

Description : HTML is used to create Web pages. -Technology

Last Answer : True HTML is a markup language which is used to create Web pages.

Description : Write HTML code to set the image ‘Pen. jpg’ stored in ‘My Pictures’ folder in C: -Technology

Last Answer : The HTML code is .

Description : HTML is a markup language. Expand the term HTML. -Technology

Last Answer : HyperText Markup Language.

Description : Give examples of a container element in HTML. -Technology

Last Answer : , , .

Description : Give the examples of an empty element in HTML. -Technology

Last Answer : The examples of an empty element in HTML is ,

Description : Write the extension of HTML code file. -Technology

Last Answer : The extension of HTML code file is.html or .htm

Description : While writing HTML code, how do you find out how your Web page would look like? -Technology

Last Answer : For this, open the HTML code file in a Web browser.

Description : Identify the error(s) in the following HTML code. Also, write the correct code. -Technology

Last Answer : The error in the code is that in place of color attribute there should be bgcolor.The correct code is

Description : What is the use of width attribute in HTML? -Technology

Last Answer : Width attribute specifies the width of a horizontal line in pixels or percent. Its default value is 100%.

Description : What is the use of tag in HTML code? Write any two options used with this tag. -Technology

Last Answer : The tag is used to change the size, color and type face of the text on HTML page. It uses attributes such as size, face etc.

Description : Identify the errors and write the correct HTML code 1. -Technology

Last Answer : 1. 2.

Description : What is the method of using headings in HTML? -Technology

Last Answer : provides six levels of headings. is the largest heading level while is the smallest heading level. These headings help us in obtaining a uniform look and feel for the document.

Description : Write the HTML code to display horizontal line of red color. -Technology

Last Answer :

Description : Write the expansions of the following tags used in HTML. 1. -Technology

Last Answer : 1. — Break line2. — Italic3. – Horizontal Rule4. — Underline

Description : Write the expansions of the following tags used in HTML. 1. -Technology

Last Answer : 1. – Anchor tag2. – Comment tag

Description : Which HTML tag is used to insert an image in a page? Write an option used with this tag. -Technology

Last Answer : The tag is used to insert an image in a page. This tag uses the options like src, alt etc.

Description : What are the different forms of list used in HTML? Name any two. -Technology

Last Answer : The different forms of list are ordered list and unordered list.

Description : What are two basic tags in HTML lists? -Technology

Last Answer : and

Description : Find error(s) in the following HTML code segment. Rewrite the correct code. -Technology

Last Answer : There should be type instead of style. So, correct line is

Description : What is the purpose of HTML? -Technology

Last Answer : HTML (HyperText Markup Language) is used to create Web pages and tells the browser how to display them. It designs the basic layout and formatting of Web pages.HTML is made up of elements or tags and attributes, which work together to identify document parts and tell the browser how to display them.

Description : What is an attribute in HTML? -Technology

Last Answer : HTML attribute is a modifier of HTML element. Attributes provide additional information about HTML elements. Attributes are always specified in the start tag of an element, after the element's name. These come in ... is the HTML element, name is the name of an attribute, set to the provided value.

Description : What is the purpose of using HTML tags and attributes for Web designing? -Technology

Last Answer : HTML (HyperText Markup Language) is used to create Web pages. It designs the basic layout and formatting of Web pages by using tags and attributes.The tag’s name tells the tag’s purpose and the attributes that follow the tag name give the additional information of the Web browser.

Description : Differentiate between container and empty elements used in HTML. -Technology

Last Answer : Container elements HTML container elements require a starting as well as an ending tags.e-g , , .They affect the text appearing between their starting and ending tags.Empty elements HTML empty elements require just a ... and not an ending tag.e.g. , , .They just carry out the job assigned to them.

Description : Find the error(s) in the following code and underline those errors. -Technology

Last Answer : should be placed before The correct code is Example

Description : What is the use of tag in HTML code? Write any two attributes used with this tag. -Technology

Last Answer : The tag encloses the main part of the document. It contains all the contents of a document. Various markup elements are allowed within the body to indicate headings, paragraphs, lists, hypertext links, images and so on. The tag uses various attributes such as background, bgcolor etc.

Description : What does tag in HTML contain? Write any two attributes used with this tag. -Technology

Last Answer : The tag encloses the main part of the document. It contains all the contents of a document. Various markup elements are allowed within the body to indicate headings, paragraphs, lists, hypertext links, images and so on. The tag uses various attributes such as background,bgcoloretc.