What is basic html document in HTML

<!DOCTYPE html>
<html lang="pt-br" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>...</title>
</head>
<body>
...
<script type="text/javascript" src="script.js"></script>
</body>
</html>
<!-- Answer to: "html basics" -->

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="./style.css">
<script type="text/javascript" src="./script.js"></script>
<title>...</title>
</head>
<body>
...
</body>
</html>
<!DOCTYPE html>
<html lang="en-US">
<body>


...

</body>
</html>
<p style="color:red">This is a red paragraph.</p>
<p
title=About W3Schools>
<a
href=https://www.w3schools.com>

Source: www.w3schools.com

Leave a Comment