Skip to main content

Fieldset and Pre Tags in HTML with Live execution

Fieldset Tag in HTML

Fieldset & Pre Tags in HTML :

1. Fieldset Tag :

is used for grouping related form elements in a box.It is used to give user a clear view about Content. Starting tag : <fieldset> Ending tag : </fieldset>

2. Legend Tag :

Legend tag is used to give title for Fieldset. Starting tag : <legend> Ending tag : </legend>

3. Pre Tag :

Pre tag is used to set alignment of your web page as coded line wise . Starting tag : <pre> Ending tag : </pre> For this first take a notepad and copy code then save it with .html extension.Thats it your Program will be exected.if You want to check its effect within this website plese click on EXECUTE button.
CODE <html> <head> <title> Fieldset ,Pre TAGs </title> <style type="text/css"> </style> </head> <body > <Fieldset > <legend> <H2> Login Page </H2> </legend> <form align="center" name="sampleform"> <pre> <h3> <label name="username"> User Name :</label> <input type="text"> </input> <label name="Password"> Password :</label> <input type="password"> </input> <input type="submit" value="Login"> <input type="reset" value="Reset"> </h3> </pre> </fieldset> </body> </html>
OutPut (Click on above execute Button)

Comments

Popular posts from this blog

Computer awareness questions asked in RRB PO Part II

Computer awareness questions asked in RRB PO Part II Part -I Part - II Learn them from below Q 1) which of the following is not a is not an email service ? A. Bing B. yandex C. gmail D.Yahoo View Answer & Explanation Q 2) Which of the following is incorrect declaration of file name in Windows 7 ? A.mydoc:file.doc B.Mydoc hai.doc C.Mydoc_hai.doc D. Mydoc.doc View Answer & Explanation Q 3)Which of the following is correct mail id ? A. @mymail.com B. msrgmail.com C. msr@.com D. msr@gmail.com View Answer & Explanation Q 4) Which of the following is a software that that is available free of cost but do not provide any freedom of modifying, sharing and studying the program ? A.Free ware B.share ware C. Open source D.Adware View Answer & Explanation ...

Part 4 : Top 500 Computer Awareness Previously Asked Questions

Top 500 Computer Awareness questions Take Quiz from below Q 1) In Network layer , data transferred interns of _______________ ? frames packets bits segments Q 2) What is the shortcut for creating new slide from already existing slide ? contrl + N contrl + M contrl + V contrl + R Q 3) What is the extension for MS-ACCESS ? ACCDB XLS DOCX ACCESS Q 4) Which of the following is volatile memory ? HARD DISK ROM RAM COMPACT DISK Q 5) What is used to identify Particular page on web ? ? HYPERLINK URI URL SERVER ADDRESS Q 6) Which one of the fo...