SlideShare una empresa de Scribd logo
1 de 31
Index :
   Write a html code making use of following tags and show it
   a.Unordered list
   b.Ordered list
   c.Definition list
   Write a html code,which makes use of following
   a.the italic tag
   b.the center tag
   c.the paragraph tag
   d.the break tag
   e.the font tag and its attribute
   Design a web page using text box and labe according to the
   following specification
   a.use a label for username and password
   b.use a textbox for input data
   c.use a button for submit data
   Design a web page using following specification
   a.use a radio button
   b.use a combo box
   c.use a check box
   Design a web page using img control with
   border,width,height attributes and move this image left to
   right
Design a web page using table with following
a.using cell specing
b.using cell padding
c.using width and border
d.using bgcolor
e.using row span and cols span attributes
Create web page giving the following below:
Name of train starting place destination place time
arrival departure fare
Rajdhani exp Bombay delhi 7:30 8:45 Rs 989.00
vaisali exp Delhi gkp 6:30 8:45 Rs 800.00
Konya exp Bombay banglore 11:30 12:45 Rs 900.00
deccan exp Bombay madras 13:30 14:45 Rs 489.00
Create a document with following links
Welcome to our home page
This page has links to the website of html
For further information click it.
About iimt
Write a program to add two no. in vb script with html code
Write a program to determine GCD of two no. using
javascript
Write a program to factorial no. in javascript with html
code
Write a program to factorial no. in vb script with html code
Write a program to factorial no. using JSP code
Question: Write a html code making use of following tags and
  show it
    a.Unordered list
    b.Ordered list
    c.Definition list


Answer:
<html>
<head>
 <title>
 list of elements
 </title>
</head>
<body>
<h3> This is list of element </h3>
<p>Unordered list</p>
 <ul>
 <li>mca</li>
 <li>mba</li>
 <li>b.tech</li>
<li>bca</li>
 </ul>
<p>Ordered list</p>
<ol>
 <li>mca</li>
 <li>mba</li>
 <li>b.tech</li>
 <li>bca</li>
</ol>
<p>Definition list</p>
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
</body>
</html>
Output:
This is list of element

Unordered list

        mca
        mba
        b.tech
        bca

Ordered list

   1.   mca
   2.   mba
   3.   b.tech
   4.   bca

Definition list

Coffee
      - black hot drink
Milk
      - white cold drink
Question: Write a html code,which makes use of following
    a.the italic tag
    b.the center tag
    c.the paragraph tag
    d.the break tag
    e.the font tag and its attribute
Answer:

<html>
<head>
<title>html tags</title>
</head>
<body>
<h1>this is heading tag</h1>
<i>this is ittalic tag</i>
<center>this is center tag</center>
<p>this is paragraph tag</p>
<font color="#FF0000" size="+1" style="font-
family:'Times New Roman', Times, serif">
this is font tag and attributes
</font>
</body>
</html>
Outpur:
Question: Design a web page using text box and labe according
to the following specification
     a.use a label for username and password
     b.use a textbox for input data
     c.use a button for submit data
Answer: <html>
<head>

<title>web page</title>

</head>

<body>

 <table width="30%" border="4" align="center">

 <form method="post" action="">

  <tr>

   <td>

     username:

   </td>

  <td>

     <input type="text" size="25" />

   </td>

 </tr>

  <tr>

    <td>

    password:
</td>

 <td>

 <input type="password" size="25" />

 </td>

  </tr>

         <tr>

           <td align="right">

                 <input type="submit" value="submit" />

                 </td>

                  <td align="center">

                 <input type="reset" value="cancel" />

           </td>

         </tr>

 </form>

</table>

 </body>

</html>

Output:
Question: Design a web page using following specification
      a.use a radio button
      b.use a combo box
      c.use a check box
Answer:
<html>
<head>
<title>Design webpage</title>
</head>
<body>
 <form action="" method="post">
 <h5>This is radio button</h5>
Sex
<br>
 <input type="radio" value="female"
checked="checked">Female
<br>
 <input type="radio" value="male">Male
 <br>
 <h5>This is checkbox</h5>
<input type="checkbox" name="vehicle" value="Bike"
checked="checked" />MCA <br>
 <input type="checkbox" name="vehicle" value="Car"
/>B.Tech
 <h5> This is combo box</h5>
 <select>
   <option selected="selected" >MCA</option>
   <option >MBA</option>
   <option >B.Tech</option>
   <option >BCA</option>
 </select>


 </form>
</body>
</html>
Output:
Question: Design a web page using img control with
border,width,height attributes and move this image left to right
Answer:
<html>
<head>
<title>image</title>
</head>
<body>
<h5>This is image tag </h5>
<marquee direction="right">
<img src="logo.jpg" />
</marquee>
</body>
</html>
Output:
Question: Design a web page using table with following
       a.using cell specing
       b.using cell padding
       c.using width and border
       d.using bgcolor
       e.using row span and cols span attributes


Answer: <html>
<head>
<title>table</title>
</head>
<body>
<table border="9" bordercolor="#00FFFF"
cellspacing="10" >
<tr><td colspan="5" align="center">EMPLOYE
DETAIL</td></tr>


<tr>
<th>Name of train</th>
<th>Starting place</th>
<th>Destination</th>
<th>Time</th>
<th>Arrival</th>
<th>Departure</th>
<th>Fare</th>
</tr>


<tr>
<td>01</td>
<td>a</td>
<td>noida</td>
<td>sir</td>
<td>male</td>
</tr>
<tr>
<td>02</td>
<td>b </td>
<td> grater noida</td>
<td>student</td>
<td>male</td>
</tr>
<tr>
<td>03</td>
<td>c</td>
<td>up</td>
<td>software </td>
<td>male</td>
</tr>
<tr>
<td>04</td>
<td>d</td>
<td>delhi</td>
<td>hod</td>
<td>male</td>
</tr>
<tr>
<td>05</td>
<td>e</td>
<td>gonda</td>
<td>software</td>
<td>male</td>
</tr>
<tr>
<td>06</td>
<td>f</td>
<td> grater noida</td>
<td>software engg</td>
<td>male</td>
</tr>
</table>
</body>
</html>
Output:
Question: Create web page giving the following below:
       Name of train starting place destination place time
       arrival departure fare
       Rajdhani exp Bombay delhi 7:30 8:45 Rs 989.00
       vaisali exp Delhi gkp 6:30 8:45 Rs 800.00
       Konya exp Bombay banglore 11:30 12:45 Rs 900.00
       deccan exp Bombay madras 13:30 14:45 Rs 489.00
Answer: <html>
<head>
<title>table</title>
</head>
<body>
<table border="9" bordercolor="#00FFFF"
cellspacing="10" >
<tr><td colspan="5" align="center">EMPLOYE
DETAIL</td></tr>


<tr>
<th>Name of train</th>
<th>Starting place</th>
<th>Destination</th>
<th>Time</th>
<th>Arrival</th>
<th>Departure</th>
<th>Fare</th>
</tr>


<tr>
<td>Rajdhani Exp</td>
<td>Delhi</td>
<td>Lucknow</td>
<td>7:30</td>
<td>7:45</td>
<td>8:30</td>
<td>Rs.9800</td>
</tr>
<tr>
<td>Vaisali SupfExp</td>
<td>Delhi</td>
<td>Gkp</td>
<td>6:30</td>
<td>7:45</td>
<td>9:30</td>
<td>Rs.900</td>
</tr>
</table>
</body>
</html>
Output:
Question: Create a document with following links
    Welcome to our home page
    This page has links to the website of html
    For further information click it.
    About iimt
Answer:
<html>
<head>
<title>Link page</title>
</head>
<body>
<h4>This is link page</h4>
<p>For further information click it About iimt</p>
<a href="http://www.iimtindia.net/">About IIMT</a>
</body>
</html>
Output:
Question: Write a program to add two no. in vb script with html
code
Answer: <html>
<head>
<title>sum of two number</title>
<Script Language="VBScript">
Dim a=10;
Dim b=10;
Dim sum=a+b;
document.write(sum);
</script>
</head>
<body>
<h5> sum of two number</h5>
</body>
</html>
Output:
Sum of two number
20
Question: Write a program to determine GCD of two no. using
javascript
Answer: <html>
<head>
<script type="text/javascript">
function go(input1,input2,input3){
    if (document.form1.text3.value!=""){


document.form1.answer.value=hcf(hcf(input1,input2),input3
);


document.form1.answer2.value=lcm(lcm(input1,input2),inp
ut3);
    } else {
        document.form1.answer.value=hcf(input1,input2);
        document.form1.answer2.value=lcm(input1,input2);
    }
}


function hcf(text1,text2){
    var gcd=1;
if (text1>text2) {text1=text1+text2; text2=text1-text2;
text1=text1-text2;}
 if ((text2==(Math.round(text2/text1))*text1))
{gcd=text1}else {
    for (var i = Math.round(text1/2) ; i > 1; i=i-1) {
        if ((text1==(Math.round(text1/i))*i))
        if ((text2==(Math.round(text2/i))*i)) {gcd=i; i=-1;}
    }
    }
    return gcd;
}


function lcm(t1,t2){
    var cm=1;
    var f=hcf(t1,t2);
    cm=t1*t2/f;
    return cm;
}
</script>
</head>
<body>
<div align="center">
<form name="form1">
First Number: <input type="text" name="text1" size="3">
 Second Number: <input type="text" name="text2"
size="3"><br>
 Third Number (<em>not required</em>): <input
type="text" name="text3" size="3">
<br><br>
<input type="button" value="Find GCF and LCM"
onClick="go(eval(document.form1.text1.value),eval(docume
nt.form1.text2.value),eval(document.form1.text3.value))">
<br><br>
Greatest Common Factor (GCF): <input type="text"
name="answer" size="3" readonly>
<br>
Least Common Multiplier (LCM): <input type="text"
name="answer2" size="3" readonly>
</form>
</div>
<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts
provided<br>
by <a href="http://javascriptsource.com">The JavaScript
Source</a></font>
</center>
</body>
</html>
Output:
Question: Write a program to factorial no. in javascript with
html code
Answer: <html>
<body>
<script language="javascript">
b=prompt("enter the no=");
c=parseInt(b);
var i=1;
var f=1;
for(i=1;i<=c;i++)
{
var f=f*i;
}prompt("your output is:",f);
</script>
</body>
</html>
Output: if number 5 for your output is:120


Question: Write a program to factorial no. in vb script with html
code
Answer: <html>
<head>
<title>factorial of number</title>
<Script Language="VBScript">
Dim fact=1;
Dim n=5;
Dim i=1;
for(i=1;i<=n;i++)
{
fact=fact*i;
}
document.write("factorial of no="+fact);
</script>
</head>
<body>
<h5> factorial of number</h5>
</body>
</html>
Output:factorial of no:120
Question: Write a program to factorial no. using JSP code
Answer: <%@ page language="java"%>
<html>
<head>
<title>factorial of a number</title>
</head>
<body>
<%
int fact=1;
int n=5;
int i=1;
for(i=1;i<=n;i++)
{
fact=fact*i;
}
out.print("factorial of no="+fact);
%>
</body></html>
Output: factorial of no:120
Html file

Más contenido relacionado

La actualidad más candente

Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyshabab shihan
 
The Basics of (X)HTML Tags
The Basics of (X)HTML TagsThe Basics of (X)HTML Tags
The Basics of (X)HTML TagsLearningNerd
 
What's new in Rails 2?
What's new in Rails 2?What's new in Rails 2?
What's new in Rails 2?brynary
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18HUST
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style SheetsJerome Locson
 
The Ring programming language version 1.10 book - Part 55 of 212
The Ring programming language version 1.10 book - Part 55 of 212The Ring programming language version 1.10 book - Part 55 of 212
The Ring programming language version 1.10 book - Part 55 of 212Mahmoud Samir Fayed
 
The Ring programming language version 1.5.3 book - Part 45 of 184
The Ring programming language version 1.5.3 book - Part 45 of 184The Ring programming language version 1.5.3 book - Part 45 of 184
The Ring programming language version 1.5.3 book - Part 45 of 184Mahmoud Samir Fayed
 
basic knowledge abot html
basic knowledge abot htmlbasic knowledge abot html
basic knowledge abot htmlAnkit Dubey
 
The Other Side of HTML
The Other Side of HTMLThe Other Side of HTML
The Other Side of HTMLCarlin Scuderi
 
Css ppt - Cascading Style Sheets
Css ppt - Cascading Style SheetsCss ppt - Cascading Style Sheets
Css ppt - Cascading Style SheetsShaheen Shaikh
 
Grddl In A Nutshell V1
Grddl In A Nutshell V1Grddl In A Nutshell V1
Grddl In A Nutshell V1Fabien Gandon
 
HTML Training in Ambala ! Batra Computer Centre
HTML Training in Ambala ! Batra Computer CentreHTML Training in Ambala ! Batra Computer Centre
HTML Training in Ambala ! Batra Computer Centrejatin batra
 

La actualidad más candente (20)

Html Ppt
Html PptHtml Ppt
Html Ppt
 
New HTML5/CSS3 techniques
New HTML5/CSS3 techniquesNew HTML5/CSS3 techniques
New HTML5/CSS3 techniques
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
The Basics of (X)HTML Tags
The Basics of (X)HTML TagsThe Basics of (X)HTML Tags
The Basics of (X)HTML Tags
 
What's new in Rails 2?
What's new in Rails 2?What's new in Rails 2?
What's new in Rails 2?
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18
 
Cascading Style Sheets
Cascading Style SheetsCascading Style Sheets
Cascading Style Sheets
 
The Ring programming language version 1.10 book - Part 55 of 212
The Ring programming language version 1.10 book - Part 55 of 212The Ring programming language version 1.10 book - Part 55 of 212
The Ring programming language version 1.10 book - Part 55 of 212
 
Html tags
Html tagsHtml tags
Html tags
 
The Ring programming language version 1.5.3 book - Part 45 of 184
The Ring programming language version 1.5.3 book - Part 45 of 184The Ring programming language version 1.5.3 book - Part 45 of 184
The Ring programming language version 1.5.3 book - Part 45 of 184
 
Web technology
Web technologyWeb technology
Web technology
 
Html tags
Html tagsHtml tags
Html tags
 
Theme
ThemeTheme
Theme
 
basic knowledge abot html
basic knowledge abot htmlbasic knowledge abot html
basic knowledge abot html
 
The Other Side of HTML
The Other Side of HTMLThe Other Side of HTML
The Other Side of HTML
 
Everest
EverestEverest
Everest
 
Css ppt - Cascading Style Sheets
Css ppt - Cascading Style SheetsCss ppt - Cascading Style Sheets
Css ppt - Cascading Style Sheets
 
Grddl In A Nutshell V1
Grddl In A Nutshell V1Grddl In A Nutshell V1
Grddl In A Nutshell V1
 
HTML Training in Ambala ! Batra Computer Centre
HTML Training in Ambala ! Batra Computer CentreHTML Training in Ambala ! Batra Computer Centre
HTML Training in Ambala ! Batra Computer Centre
 
Html&css lesson 2
Html&css lesson 2Html&css lesson 2
Html&css lesson 2
 

Similar a Html file

Learn JavaScript HTML & CSS
Learn JavaScript HTML & CSSLearn JavaScript HTML & CSS
Learn JavaScript HTML & CSSBilal Mirza
 
Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12Hitesh Patel
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmMaria S Rivera
 
Vaadin Components @ Angular U
Vaadin Components @ Angular UVaadin Components @ Angular U
Vaadin Components @ Angular UJoonas Lehtinen
 
The Ring programming language version 1.2 book - Part 33 of 84
The Ring programming language version 1.2 book - Part 33 of 84The Ring programming language version 1.2 book - Part 33 of 84
The Ring programming language version 1.2 book - Part 33 of 84Mahmoud Samir Fayed
 
The Ring programming language version 1.6 book - Part 47 of 189
The Ring programming language version 1.6 book - Part 47 of 189The Ring programming language version 1.6 book - Part 47 of 189
The Ring programming language version 1.6 book - Part 47 of 189Mahmoud Samir Fayed
 
Please help with creating a javascript file to produce the outcome bel.pdf
Please help with creating a javascript file to produce the outcome bel.pdfPlease help with creating a javascript file to produce the outcome bel.pdf
Please help with creating a javascript file to produce the outcome bel.pdfinfo750646
 
Please help with creating a javascript file to produce the outcome bel (1).pdf
Please help with creating a javascript file to produce the outcome bel (1).pdfPlease help with creating a javascript file to produce the outcome bel (1).pdf
Please help with creating a javascript file to produce the outcome bel (1).pdfpankajsingh316693
 
DIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web DesigningDIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web DesigningRasan Samarasinghe
 
Fiverr html5 test answers 2020
Fiverr html5 test answers 2020Fiverr html5 test answers 2020
Fiverr html5 test answers 2020Roobon Habib
 

Similar a Html file (20)

Learn JavaScript HTML & CSS
Learn JavaScript HTML & CSSLearn JavaScript HTML & CSS
Learn JavaScript HTML & CSS
 
Print this
Print thisPrint this
Print this
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12Bca sem 6 php practicals 1to12
Bca sem 6 php practicals 1to12
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
HTML Tutorials
HTML TutorialsHTML Tutorials
HTML Tutorials
 
16-DOMTree.pptx
16-DOMTree.pptx16-DOMTree.pptx
16-DOMTree.pptx
 
Lect# 1 html part ii
Lect# 1 html part iiLect# 1 html part ii
Lect# 1 html part ii
 
WIT lab programs.docx
WIT lab programs.docxWIT lab programs.docx
WIT lab programs.docx
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
 
Vaadin Components @ Angular U
Vaadin Components @ Angular UVaadin Components @ Angular U
Vaadin Components @ Angular U
 
The Ring programming language version 1.2 book - Part 33 of 84
The Ring programming language version 1.2 book - Part 33 of 84The Ring programming language version 1.2 book - Part 33 of 84
The Ring programming language version 1.2 book - Part 33 of 84
 
The Ring programming language version 1.6 book - Part 47 of 189
The Ring programming language version 1.6 book - Part 47 of 189The Ring programming language version 1.6 book - Part 47 of 189
The Ring programming language version 1.6 book - Part 47 of 189
 
Please help with creating a javascript file to produce the outcome bel.pdf
Please help with creating a javascript file to produce the outcome bel.pdfPlease help with creating a javascript file to produce the outcome bel.pdf
Please help with creating a javascript file to produce the outcome bel.pdf
 
Please help with creating a javascript file to produce the outcome bel (1).pdf
Please help with creating a javascript file to produce the outcome bel (1).pdfPlease help with creating a javascript file to produce the outcome bel (1).pdf
Please help with creating a javascript file to produce the outcome bel (1).pdf
 
Html advance
Html advanceHtml advance
Html advance
 
HTML-Advance.pptx
HTML-Advance.pptxHTML-Advance.pptx
HTML-Advance.pptx
 
Html and css
Html and cssHtml and css
Html and css
 
DIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web DesigningDIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web Designing
 
Fiverr html5 test answers 2020
Fiverr html5 test answers 2020Fiverr html5 test answers 2020
Fiverr html5 test answers 2020
 

Último

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 

Último (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Html file

  • 1. Index : Write a html code making use of following tags and show it a.Unordered list b.Ordered list c.Definition list Write a html code,which makes use of following a.the italic tag b.the center tag c.the paragraph tag d.the break tag e.the font tag and its attribute Design a web page using text box and labe according to the following specification a.use a label for username and password b.use a textbox for input data c.use a button for submit data Design a web page using following specification a.use a radio button b.use a combo box c.use a check box Design a web page using img control with border,width,height attributes and move this image left to right
  • 2. Design a web page using table with following a.using cell specing b.using cell padding c.using width and border d.using bgcolor e.using row span and cols span attributes Create web page giving the following below: Name of train starting place destination place time arrival departure fare Rajdhani exp Bombay delhi 7:30 8:45 Rs 989.00 vaisali exp Delhi gkp 6:30 8:45 Rs 800.00 Konya exp Bombay banglore 11:30 12:45 Rs 900.00 deccan exp Bombay madras 13:30 14:45 Rs 489.00 Create a document with following links Welcome to our home page This page has links to the website of html For further information click it. About iimt Write a program to add two no. in vb script with html code Write a program to determine GCD of two no. using javascript Write a program to factorial no. in javascript with html code Write a program to factorial no. in vb script with html code Write a program to factorial no. using JSP code
  • 3. Question: Write a html code making use of following tags and show it a.Unordered list b.Ordered list c.Definition list Answer: <html> <head> <title> list of elements </title> </head> <body> <h3> This is list of element </h3> <p>Unordered list</p> <ul> <li>mca</li> <li>mba</li> <li>b.tech</li>
  • 4. <li>bca</li> </ul> <p>Ordered list</p> <ol> <li>mca</li> <li>mba</li> <li>b.tech</li> <li>bca</li> </ol> <p>Definition list</p> <dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl> </body> </html>
  • 5. Output: This is list of element Unordered list mca mba b.tech bca Ordered list 1. mca 2. mba 3. b.tech 4. bca Definition list Coffee - black hot drink Milk - white cold drink
  • 6. Question: Write a html code,which makes use of following a.the italic tag b.the center tag c.the paragraph tag d.the break tag e.the font tag and its attribute Answer: <html> <head> <title>html tags</title> </head> <body> <h1>this is heading tag</h1> <i>this is ittalic tag</i> <center>this is center tag</center> <p>this is paragraph tag</p> <font color="#FF0000" size="+1" style="font- family:'Times New Roman', Times, serif"> this is font tag and attributes
  • 8. Question: Design a web page using text box and labe according to the following specification a.use a label for username and password b.use a textbox for input data c.use a button for submit data Answer: <html> <head> <title>web page</title> </head> <body> <table width="30%" border="4" align="center"> <form method="post" action=""> <tr> <td> username: </td> <td> <input type="text" size="25" /> </td> </tr> <tr> <td> password:
  • 9. </td> <td> <input type="password" size="25" /> </td> </tr> <tr> <td align="right"> <input type="submit" value="submit" /> </td> <td align="center"> <input type="reset" value="cancel" /> </td> </tr> </form> </table> </body> </html> Output:
  • 10. Question: Design a web page using following specification a.use a radio button b.use a combo box c.use a check box Answer: <html> <head> <title>Design webpage</title> </head> <body> <form action="" method="post"> <h5>This is radio button</h5> Sex <br> <input type="radio" value="female" checked="checked">Female <br> <input type="radio" value="male">Male <br> <h5>This is checkbox</h5>
  • 11. <input type="checkbox" name="vehicle" value="Bike" checked="checked" />MCA <br> <input type="checkbox" name="vehicle" value="Car" />B.Tech <h5> This is combo box</h5> <select> <option selected="selected" >MCA</option> <option >MBA</option> <option >B.Tech</option> <option >BCA</option> </select> </form> </body> </html>
  • 13. Question: Design a web page using img control with border,width,height attributes and move this image left to right Answer: <html> <head> <title>image</title> </head> <body> <h5>This is image tag </h5> <marquee direction="right"> <img src="logo.jpg" /> </marquee> </body> </html> Output:
  • 14. Question: Design a web page using table with following a.using cell specing b.using cell padding c.using width and border d.using bgcolor e.using row span and cols span attributes Answer: <html> <head> <title>table</title> </head> <body> <table border="9" bordercolor="#00FFFF" cellspacing="10" > <tr><td colspan="5" align="center">EMPLOYE DETAIL</td></tr> <tr> <th>Name of train</th> <th>Starting place</th> <th>Destination</th>
  • 19. Question: Create web page giving the following below: Name of train starting place destination place time arrival departure fare Rajdhani exp Bombay delhi 7:30 8:45 Rs 989.00 vaisali exp Delhi gkp 6:30 8:45 Rs 800.00 Konya exp Bombay banglore 11:30 12:45 Rs 900.00 deccan exp Bombay madras 13:30 14:45 Rs 489.00 Answer: <html> <head> <title>table</title> </head> <body> <table border="9" bordercolor="#00FFFF" cellspacing="10" > <tr><td colspan="5" align="center">EMPLOYE DETAIL</td></tr> <tr> <th>Name of train</th> <th>Starting place</th> <th>Destination</th>
  • 22. Question: Create a document with following links Welcome to our home page This page has links to the website of html For further information click it. About iimt Answer: <html> <head> <title>Link page</title> </head> <body> <h4>This is link page</h4> <p>For further information click it About iimt</p> <a href="http://www.iimtindia.net/">About IIMT</a> </body> </html> Output:
  • 23. Question: Write a program to add two no. in vb script with html code Answer: <html> <head> <title>sum of two number</title> <Script Language="VBScript"> Dim a=10; Dim b=10; Dim sum=a+b; document.write(sum); </script> </head> <body> <h5> sum of two number</h5> </body> </html> Output: Sum of two number 20
  • 24. Question: Write a program to determine GCD of two no. using javascript Answer: <html> <head> <script type="text/javascript"> function go(input1,input2,input3){ if (document.form1.text3.value!=""){ document.form1.answer.value=hcf(hcf(input1,input2),input3 ); document.form1.answer2.value=lcm(lcm(input1,input2),inp ut3); } else { document.form1.answer.value=hcf(input1,input2); document.form1.answer2.value=lcm(input1,input2); } } function hcf(text1,text2){ var gcd=1;
  • 25. if (text1>text2) {text1=text1+text2; text2=text1-text2; text1=text1-text2;} if ((text2==(Math.round(text2/text1))*text1)) {gcd=text1}else { for (var i = Math.round(text1/2) ; i > 1; i=i-1) { if ((text1==(Math.round(text1/i))*i)) if ((text2==(Math.round(text2/i))*i)) {gcd=i; i=-1;} } } return gcd; } function lcm(t1,t2){ var cm=1; var f=hcf(t1,t2); cm=t1*t2/f; return cm; } </script> </head>
  • 26. <body> <div align="center"> <form name="form1"> First Number: <input type="text" name="text1" size="3"> Second Number: <input type="text" name="text2" size="3"><br> Third Number (<em>not required</em>): <input type="text" name="text3" size="3"> <br><br> <input type="button" value="Find GCF and LCM" onClick="go(eval(document.form1.text1.value),eval(docume nt.form1.text2.value),eval(document.form1.text3.value))"> <br><br> Greatest Common Factor (GCF): <input type="text" name="answer" size="3" readonly> <br> Least Common Multiplier (LCM): <input type="text" name="answer2" size="3" readonly> </form> </div>
  • 27. <p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center> </body> </html> Output:
  • 28. Question: Write a program to factorial no. in javascript with html code Answer: <html> <body> <script language="javascript"> b=prompt("enter the no="); c=parseInt(b); var i=1; var f=1; for(i=1;i<=c;i++) { var f=f*i; }prompt("your output is:",f); </script> </body> </html> Output: if number 5 for your output is:120 Question: Write a program to factorial no. in vb script with html code
  • 29. Answer: <html> <head> <title>factorial of number</title> <Script Language="VBScript"> Dim fact=1; Dim n=5; Dim i=1; for(i=1;i<=n;i++) { fact=fact*i; } document.write("factorial of no="+fact); </script> </head> <body> <h5> factorial of number</h5> </body> </html> Output:factorial of no:120
  • 30. Question: Write a program to factorial no. using JSP code Answer: <%@ page language="java"%> <html> <head> <title>factorial of a number</title> </head> <body> <% int fact=1; int n=5; int i=1; for(i=1;i<=n;i++) { fact=fact*i; } out.print("factorial of no="+fact); %> </body></html> Output: factorial of no:120