Multiple HTML checkers are giving me these errors, but I do not understand how I am getting them or how to fix them. Any help is greatly appreciated.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="author" content="text">
<meta name="description" content="text">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="text">
<link rel="icon" href="image.jpg" type="image/x-icon">
<link href = "style.css" rel = "stylesheet">
<title>text</title>
<a href="./picturepage.html">text</a>
</head>
<body>
head
is optional body
is optional a
element is forbidden inside the head
Therefore your a
element implicitly ends the head
and starts the body
so your </head>
tag has no open head
element to match.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.