HTML — A step-by-step walkthrough

What is HTML?

HTML Elements

<p> I am a sample content </p>
<img src = "https://cdn-images-1.medium.com/fit/c/64/64/1*ewXMUxmCEzHZ-uXuZoO62g.jpeg">

HTML Attributes

Example: 
<p class=”paragraph”>I am a paragraph</p>
<input type=”text” class=”username”/>
<input type=’text” />
<input type=”text” /> or <input type=’text’ />
<input type=”text” disabled=”disabled”/>
<input type=”text” disabled/>

HTML Structure

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>A step-by-step walkthrough of your first HTML page</title>
</head>
<body>
<p>This is my first HTML page</p>
</body>
</html>
HTML 4.0.1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">XHTML 1.1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">HTML 5<!DOCTYPE html> 

HTML Comments

<p>I'm not inside a comment</p>

<!-- <p>I am!</p> -->

Here we have a list of points that one should know before writing the first HTML page.

𝕛𝕒𝕧𝕒𝕤𝕔𝕣𝕚𝕡𝕥 dєvєlσpєr

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store