Copy link to clipboard
Copied
any please help me figure where i am missing special character must be escaped.here is teh code.
<div class="">
<h1><strong> Trending Now </strong><br>
<td align="left" valign="top" </td>
<span style="color: #F0FF06"></span><span style="color: #EAF01A"></span><span style="font-size: 24px"></span></h1>
</div>
I believe i am missing the escaped at <td align="left" valign="top" </td>. Appreciate any help.
Copy link to clipboard
Copied
Your code is malformed.
HTML = content
CSS = styles.
Keep styles separate from content. And never use tables for layout.
<div class="">
<h1><strong> Trending Now </strong><br><td align="left" valign="top" </td><span style="color: #F0FF06"></span><span style="color: #EAF01A"></span><span style="font-size: 24px"></span></h1>
</div>
CSS CODE:
.text-warning {
font-size:24px;
color:#EAF01A;
}
HTML CODE:
<div>
<h1 class="text-warning">Trending Now</h1>
</div>
Learning proper coding methods will save you a lot of time.
https://www.w3schools.com/html/default.asp
https://www.w3schools.com/bootstrap4/bootstrap_colors.asp
Copy link to clipboard
Copied
Adding to what Nancy has said:
Copy link to clipboard
Copied
Copy the following code and paste it in a new document. This is precisely what Nancy has already said.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
<h1>Trending Now</h1>
</body>
</html>
As far as the error message is concerned, did you see my previous reply?????
Copy link to clipboard
Copied
Thank you Ben, as far as the error is concerned i did not you your previous reply!