Thursday, February 24, 2022

HOW DO I RUN MY 1ST HTML CODE IN SUBLIME | HOW I RUN HTML HEADER CODE | HOW I RUN HTML BODY TAG | HOW I RUN HTML PARAGRAPH TAG | HOW TO RUN IMGAGE TAG IN HTML

HOW DO I RUN MY 1ST HTML CODE IN SUBLIME | HOW I RUN HTML HEADER CODE | HOW I RUN HTML BODY TAG | HOW I RUN HTML PARAGRAPH TAG | HOW TO RUN IMGAGE TAG IN HTML

in this article you will know all basics concepts to run 1st html code. what type of basics mistake we mostly do while running our 1st code. usually not save as file with .html extension. which is the most common mistake every beginner did. after save as with right extension click right click open with any search engine like google etc.  

EXAMPLE 1ST HTML CODE:

<!doc type html>  
                                This tag use to tell about the latest version.
<html>
<head>
<tittle> <h1><center> <b> <u>AREEHA'S BLOG</u> </b></center> </h1> </tittle>
</head>
 This tag use for header from Basic just add tittle of the website, mostly in header tag we can add manues, categories, social links, search bar, contact, logo of our business or website etc.  

<body>
<p> <center> <b>
Areeha's blog is about education.How to apply online for govt jobs, like ppsc, fpsc, nts, fia, fbr nadra, army, paf, psf. Freelancing website tutorial. How to start working on top freelining websites. WordPress website development and customization using, HTML, CSS, JS, SQLI, PHP. All courses of MSC_CS, Projects, Assignments making guidance. 
</b></center></p><center>

In body tag actual internal part of the website where the actual data shown, like posts, articles, our products, portfolio etc. whatever the website is about, text, images, media etc.

<img src="https://blogger.googleusercontent.com/img/a/AVvXsEiFbt3E4VWgDSlSbJpSjpAZeabFmgZ8XkXkw_7ddGEWgHEq2Uxjx1q3eNb7YzOJEa-My9TcmYo8swB-LxXNsu517kpuaXacUb0kBKdEJ5x9aKpTPviaJ8mhGKKMV-vZReL-lxnlRDL6oeCCPoQ15ZL2r7dEHB4UFjUHJLELr7ifvRU8haDN2dbLJ1uP=s1600"></center>

<img src"">

This tag use to insert image in it, there is 2 methods to insert image, you can use from internet by right click on the image and copy URL and pas in double quotes, other way from your system simply right click and from properties detail of img copy address and past in double quotes.

</body>
 
Close body tag which start used before start the body of webpage.

</html>

After closing the body tag at the end of code have to close the header tag which we put in the start of code, each tag start from should be close with back slash.

How this code written in editor sublime:
HOW DO I RUN MY 1ST HTML CODE IN SUBLIME | HOW I RUN HTML HEADER CODE | HOW I RUN HTML BODY TAG | HOW I RUN HTML PARAGRAPH TAG | HOW TO RUN IMGAGE TAG IN HTML

Output of this code:
HOW DO I RUN MY 1ST HTML CODE IN SUBLIME | HOW I RUN HTML HEADER CODE | HOW I RUN HTML BODY TAG | HOW I RUN HTML PARAGRAPH TAG | HOW TO RUN IMGAGE TAG IN HTML


0 comments:

Post a Comment