HTML Comments (w3schools.com)

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Give an example of a comment being used in an HTML.

<!-- This is a comment --> <p>This is a paragraph.</p> <!-- Remember to add more information here -->

What syntax would you use to add comments to your HTML source?

<!-- Write your comments here -->

Give an example of a conditional comment.

<!--[if IE 8]> .... some HTML here .... <![endif]-->

What is the "rule" about software program tags?

As a rule, let these tags stay, to help support the software that created them.

What tags are used to add comments to you HTML?

Comment tags <!-- and --> Note: There is an exclamation point (!) in the opening tag, but not in the closing tag.

What are conditional comments?

Conditional comments defines HTML tags to be executed by Internet Explorer only.

True or False: Comments displayed by the browser.

False

What are software program tags?

HTML comments tags generated by various HTML software programs.

What use do comments have in an HTML?

They can help document your HTML and with comments you can place notifications and reminders in your HTML. Also, comments are great for debugging HTML, because you can comment out HTML lines of code, one at a time, to search for errors

Which browsers execute HTML tags in conditional comments?

Internet Explorer only


Ensembles d'études connexes

La vie quotidienne poser des questions Intermediate

View Set

FSOS 3101 Final (Study Quizzes), (1-3), (4-6), (10-11), 13, 14, 15, 17, Consumer Credit Laws, Exam 1, 2, 3, 4 Personal Finance

View Set

Medical-Surgical HESI Practice Exams

View Set