6️⃣

2.6 Style Practice

2.6 Style Practice

Fix the style of the HTML below so that it is up to standard.

<!DOCTYPE html>
<html>
<head lang=en>
<title>Good HTML Style
	<meta charset=utf-8>

</head>
<body>
<p>This is some paragraph text
</body>
</html>

Solution
<!DOCTYPE html>
<html>
    <head lang="en">
        <title>Good HTML Style</title>
        <meta charset="utf-8" />
    </head>
    <body>
        <p>This is some paragraph text</p>
    </body>
</html>
⚖️

Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact classes@code4tomorrow.org for inquiries.