As a front end developer, I created an HTML template and attempted to upload it to my blog. However, when I tried to save the template, an error message appeared:
(Error parsing XML, line 170, column 3: The element type "link" must be terminated by the matching end-tag "</link>".)
The error mentioned that the "link" element was not properly closed. Even though there were only two link tags in the file for Google Fonts, removing them resulted in another error:
(Could not load theme preview: Error parsing XML, line 168, column 3: The element type "meta" must be terminated by the matching end-tag "</meta>".)
Frustrated with these errors, I am seeking advice from anyone who may have experience resolving such issues.
* {
margin: 0;
padding: 0;
outline: 0;
}
/* CSS Code continues... */
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Win Samsung Galaxy S10</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
</head>
<body>
<div class="body">
<img src="final-samsung-phone.png" alt="final-samsung-phone">
</div>
<div class="offer">
<p>Win Samsung Galaxy S10</p>
<a href="#">Claim Your Offer</a>
</div>
</body>
</html>