Showing posts with label how I can do html programming. Show all posts
Showing posts with label how I can do html programming. Show all posts

BACKGROUND ELEMENT

With this element we can change the background with image. For this we can use JPG, PNG, GIF,JPEG image. In the beginning we have said we need to keep HTML files in a folder. If you didnt do that yet, now its time to do that. To use the image as background we must need to keep those where are the HTML files. We cam make a folder name "test" and keep html files there and also save those images insider "test" folder. We can also create a folder inside test folder and name it Image and keep image files there. Lets try.

The format is <Body Background=filename.jpg>

 Here is the Example

 
<HTML>
<Head>
<Title> Example of Background Image</Title>
</Head>
<Body background=bg.jpg>
<H1>This is Tanjies </H1>
<P><Strong>Services we are providing</strong></p>
<OL>
<Li>Web Development
<Li>Search Engine Optimization
<Li>Web Application
<Li>Social Media Marketing
</OL>
<P><Strong>Themes We are Using </strong></p>
<OL>
<Li>The 7
<Li>Avada
<Li>Jollyall
<Li>Udesign
</OL>
<Body>
</HTML>

The saving procedure is like before, but if u face something wrong then don't forget to write me. 

 

Horizontal Line Element

With this tag you can draw Horizontal line under document. Only in special occasion we need to use this one, for example after contact us details.

Format: <HR>

Code:

<HTML>
<HEAD>
<Title> Horizontal Line Element Example</Title>
</HEAD>
<BODY>
    <Address>
        3 Angle Softwares
        Scottsdale, Arizone, 85002
        Phone:1111111111
<HR>
<Address>
</BODY>
</HTML>

Save it, and then run  your program, If you dont know how to save then flow instruction here

Result should be like this 



I hope this will help you to understand, practice it and if you found any problem let me know in comment or email me in srv2013@gmail.com. Feel free to share if it helped you. Best of Luck

HEADING ELEMENT

By using this tag you can give different types of heading in your web page. From H1 to H6, there are 6 levels. By the number 1 you can easily imagine H1 is the biggest heading and H6 is the smallest. The format of this tag is :
<H1>.........................................................</H1>

Example:

<HTML>
<HEAD>
<TITLE> Example of Heading</TITLE>
</HEAD>
<BODY>
<H1>Learn HTML and make own website</H1>
<H2>Learn HTML and make own website</H2>
<H3>Learn HTML and make own website</H3>
<H4>Learn HTML and make own website</H4>
<H5>Learn HTML and make own website</H5>
<H6>Learn HTML and make own website</H6>
</BODY>
</HTML>

HEADING ELEMENT example




If you do not know how to save your program then please visit another post to save it. That post link is Lets Start



I hope this will help you to understand, practice it and if you found any problem let me know in comment or email me in srv2013@gmail.com. Best of Luck


CENTER ELEMENT

You can use this tag to show the text in the center of your webpage. You can also do this by using ALIGN Attributes. i.e. <P ALIGN=CENTER>. Use this tage before and after the text you want to show in center.  Tag format is
<CENTER>.......................................</CENTER>

EXAMPLE:

<HTML>
<HEAD>
<TITLE> This is an example of CENTER tag</TITLE>
</HEAD>
<BODY>
<CENTER>This is an example of CENTER tag.</CENTER>
If you do no use this tag your text will look like this
</BODY>
</HTML>

CENTER ELEMENT Example



If you do not know how to save your program then please visit another post to save it. That post link is Lets Start

I hope this will help you to understand, practice it and if you found any problem let me know in comment or email me in srv2013@gmail.com. Best of Luck