Poll: Was this article helpful for you?
You do not have permission to vote in this poll.
Yes
100.00%
1 100.00%
No
0%
0 0%
Total 1 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi Line Comments in HTML5
#1
Comments will be ignored by the browser.
You can use comments i.e. to make it easier to read your codeĀ for others when working in a team,
or to make it easier to understand what each part of the code does when trying to teach someone programming,
or for commenting out some parts of the code that didn't work as expected to fix them later.

Multi line comments are done as follows:

   

If you have done it correctly your HTML document should look like this now:

   
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating hyperlinks in HTML5 Qomplainerz 0 822 07-27-2023, 01:23 PM
Last Post: Qomplainerz
  What's new in HTML5? Qomplainerz 0 545 07-27-2023, 12:48 PM
Last Post: Qomplainerz
  What is HTML5? Qomplainerz 0 513 07-27-2023, 12:43 PM
Last Post: Qomplainerz
  Everything you need to know about HTML5 Qomplainerz 0 530 07-25-2023, 09:50 AM
Last Post: Qomplainerz
  Single Line Comment in HTML5 Qomplainerz 0 1,792 02-21-2021, 06:58 PM
Last Post: Qomplainerz
  HTML5 Doctype declaration Qomplainerz 0 1,816 02-21-2021, 12:35 PM
Last Post: Qomplainerz
  Basic layout of a HTML5 document on a server Qomplainerz 0 1,844 02-21-2021, 11:38 AM
Last Post: Qomplainerz
  Forcing the browser to read the basic HTML layout as HTML5 Qomplainerz 0 1,807 02-21-2021, 11:22 AM
Last Post: Qomplainerz
Brick Marking UP the Blog in HTML5 Derp 1 4,066 12-10-2020, 10:03 AM
Last Post: WilliamR

Forum Jump:


Users browsing this thread: 7 Guest(s)