Showing posts with label how to work with div element. Show all posts
Showing posts with label how to work with div element. Show all posts

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

BLOCKQUOTE ELEMENT

This tag used to quote some text of the webpage. It is almost like CENTER element, text is shown in middle. The format is
<BLOCKQUOTE>..............................<BLOCKQUOTE>

Example:

<HTML>
<HEAD>
<TITLE> This is BlockQUOTE Element Example </TITLE>
</HEAD>
<BODY>
Whether you are a seasond word user or a first timer, this book meets you at your current level and helps you grow from there.
<BLOCKQUOTE>
If you are already familier with HTML's functionality, you will find plenty of help to streamline and enhance your work
</BLOCKQUOTE>
</BODY>
</HTML>

BLOCKQUOTE 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

DIVISION ELEMENT

With this tag we can arrange our document in different format. In this tag the other elements are TABLE, PARAGRAPH, HEADING. The format is
<DIV>..............................................................</DIV>

Example Program:

<HTML>

<HEAD>
<TITLE> Exampleof DIV Tag</TITLE>
</HEAD>
<BODY>
<H1> This is Online Learners<H1>
<DIV ALIGN=Center>
                       Our New Web Course
<H2>Mobile Web Page </H2>
<H1> Welcome</H1>
<P ALIGN=RIGHT>
Learn Mobile Application Development
<P ALIGN=LEFT>
Phone:123456789
</DIV>
</BODY>
</HTML>
 Now save it as previous. Open notepad, paste the code, Save as "Name.html". Now open the file and it will look like bellow image.
Division Element  


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