Learning HTML (part 1)

ZIYAN ALI MURTAZA
3 min readOct 17, 2021

--

What is HTML?

HTML is a language that communicates instructions to your web browser. HTML has a concern with a browser only and search engines. It has no concern and relation to your device It has a concern with browser only. You can see how HTML code looks like. For example, here we will use the Wikipedia website. Go to any website you like but we will stick to Wikipedia.

Picture credit Wikipedia

To view the source element. Go to an empty blank area of the web page and right-click. A menu will open and click the page source. Hopefully, if you followed the step a new page must’ve opened that page is viewing the source code of that page.

SOURCE CODE LOOKS LIKE THIS.

Hard to understand right now but once we are finished with this whole venture hopefully you will be able to learn and understand what most of the code means. There is an easy form of a webpage code too which will help you understand the code easily for now. We will take a look of that code we are using notepad++ for this. To view and actually type code as I move and advance through this course.

The first line consists of <!DOCTYPE.html> this is really to identify that we are on HTML when we are writing and the second line if you refer to the image above is <HTML>. We are using HTML 5 right now and learning on HTML 5 also as it the latest version of HTML and most commonly used. On third line we see <head>. Important thing to understand here is that anything between the start head and the ending header line wont be visually displayed on your webpage. the start header heading looks like <head> and the ending heading file looks like </head> It just holdes the title of the page which is displayed on the top of the browser.

Like these names on top this is between the header file.

This is a lot for today I guess the rest we can cover the next time soo long.

--

--

No responses yet