For Quiz Preparation for TGES ,Go to General Knowledge Section

Friday, October 14

HTML Language For beginner by Gopal Sir (TGES)



What is HTML ?

Ans:- HTML (Hyper Text Markup Language) is programing language , we can create website using               Html language .

๐Ÿ’“    Founder of HTML - Tim Berners-Lee ( First Version Written by Him in 1993 )

 ๐Ÿ‘‰  Here we learn about HTML and how to write html code ?

Note :- First we have to open Notepad . 

And enter given below programs- 



First Program Of HTML

How to add Heading in our webpage :

 <Html>

<Head> My Website's Heading </Head>

<H1> <B> MY First H1 Heading </B></H1>

<Title> My Website </Title>

<Text> My Name is ......</text> 

</Html>

Save :- First.html

Output :-      





Second Program Of Adding a link in Webpages .

<Html>

<head> Adding a link </Head> 

<title> My Website </Title >

<Text> Here we learn that how to add a link in web pages </text>

<br>

< a href= "https://www.gopalsgk.in"> Gopal sir's Website </a>

</html>

Save as -:  My.html

Output :- 



Third Program Of Adding a Image  in Webpages .

Note :- To add a image in web pages we have to get location of our image 
Step:- 1     Select the image 
Step :-2    Right click on select image and open with google chrome or internet explorer 




Step:-4    After that you have to copy it URL Like (D:\image\Set as Desktop Background\Motivational WHD(9).jpg)  address and paste in image tag 



<Html>

<head> Adding a link </Head> 

<title> My Website </Title >

<Text> Here we learn that how to add a Image in web pages </text>

<br>

<Img src = "D:\image\Set as Desktop Background\Motivational WHD(9).jpg">

</html>

Save :- Third.html

Output:-  

   





Forth Program of adding Background colour in our webpage.


 <Html>

<Head> My Website's Heading </Head>

<H1> <B> MY First H1 Heading </B></H1>

<Title> My Website </Title>

<Body bgcolor= "red">

<Text> My Name is ......</text> 

</Html>

Save :- Forth.html

Output :- 

                                    





Next Program is Coming soon..........

No comments:
Write Comments

Please ask any question about gk related

Total Pageviews

Popular Posts

© 2014 SSC GK.in . Designed by Bloggertheme9 | Distributed By Gooyaabi Templates
Powered by Blogger.