Comments in HTML Assignment Help

Like other programming languages, comments can be specified in HTML also. It is ignored by the web client. It will improve the readability of the code by specifying the notes. It is represented in < !-- ...--> tag


Comments in HTML Assignment Help Through Online Tutoring and Guided Sessions at MyAssignmentHelp


Valid and invalid comments in HTML

{`< !--   ...   --> is a valid comment where as < !-- .....    --> is invalid`}

Single and Multiline Comment

The above comment line supports single and multiple line comments

Example

comments in html img1

Output

comments in html img2