Monday, 13 February 2017

HTML 5 Audio

In HTML 4 audio was play using any plugin like flash or Microsoft silver light but in HTML 5 audio player is updated so no need to install any other plugin browser automatically plays it.

<audio controls>
  <source src="xxx.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

HTML 5 Video

Video is new tag added in HTML 5. The controls attribute adds video controls, like play, pause, and volume. It is a good idea to always include width and height attributes. If height and width are not set, the page might flicker while the video loads and video will in its original resolution and if resolution is high or HD it will disturb all other element position of your page.

Syntax :


<video width="XX" height="XX" controls>
  <source src="XX" type="video/mp4">
  
<source src="XX" type="video/ogg">
Your browser does not support the video tag.
</video>

HTML 5 Form

HTML 5 Form New Element Example

Form is   use to collect data from user. HTML 5 add some new control which helps and minimize your coding for date,time,email etc input. In following code I have differentiate HTML 4 and HTML 5 control sperately.

<!DOCTYPE html>
<html>

   <head>
      <meta charset="utf-8">
      <title>HTML5 Form Tutorial</title>
   </head>
      <h1 align="center">Girfa : Student Help Form New Element</h1><hr>
   <body>  
  

Sunday, 12 February 2017

NIELIT A Level Java Solve Paper Jan-12

 January, 2012
A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA


PART ONE
(Answer all the questions)

1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “tear-off” answer sheet attached to the question paper, following instructions therein. (1x10)
1.1 The method signature consists of
A) Method name and parameter list
B) Method name and return type
C) Method name, return type and parameter list
D) Method name and access modifier
1.2 The dynamic method binding is performed at
A) Runtime
B) Compile time
C) Memory allocation time
D) Class definition time