Check out example codes for "basic html document". It will help you in understanding the concepts better.

Code Example 1

<!-- 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>

Code Example 2

<!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>

Code Example 3

<p
 title=About W3Schools>

Code Example 4

<!DOCTYPE html>
<html lang="en-US">
<body>


 ...

</body>
</html>

Code Example 5

<a
href=https://www.w3schools.com>

Code Example 6

<p style="color:red">This is a red paragraph.</p>

Learn ReactJs, React Native from akashmittal.com