在HTML的title标签中编写的注释显示在网页的标题栏中。
我已经尝试在chrome和edge中打开我的html文件,两者都显示相同的输出,即在网页的标题栏上显示注释。我的问题是title标签忽略了其中的注释,还是我做错了什么。
我认为浏览器应该忽略该注释:
<!DOCTYPE html>
<html>
<head> <!--This tag stores the meta data of the page-->
<title> <!--This tag handles the title bar