What is the role of comments in an HTML document? Describe the correct syntax to use to add a comment to an HTML document.

What will be an ideal response?

As you create a Web page, you might want to add notes or comments about your code. These comments might include the name of the document's author and the date the document was created. Such notes are not intended to be displayed by the browser, but are instead used to help explain your code to yourself and others. To add notes or comments, insert a comment tag with the syntax



where comment is the text of the comment or note.

Because they are ignored by the browser, comments can be added anywhere within the HTML document.

Computer Science & Information Technology

You might also like to view...

By using a PivotTable Report, you can show the same data in a table in:

A) more than one arrangement. B) large amount of cells. C) field names. D) a summarized fashion.

Computer Science & Information Technology

Since the FREQUENCY function is an array function, once it is typed into a cell you must press ________ + Enter in order for it to calculate properly

A) Ctrl + Shift B) Ctrl + Alt C) Ctrl D) Alt + Shift

Computer Science & Information Technology