umar's Profile

75
points

Questions
6

Answers
6

  • Asked on September 8, 2017 in Programming.

    Elements for Image and Multimedia and Its Attributes:

    1) <audio> element:-
    <audio> element represents sounds of music and other audio file. There are basically 3 supported audio file formats (e.g. mp3, wav, ogg).

    Some browsers support these all three file formats (e.g. chrome, firefox and opera) but other browsers support some file formats (e.g. internet explorer support only mp3 format and safari support mp3 and wav formats).
    Attributes:-

    There are following attributes of the <audio> element with its description:

    autoplay:      Represents the audio will start as quickly it is ready.

    controls:       Represents the display for audio controls (e.g. play or pause button).

    muted:          Represents the muted audio.

    loop:              Represents the audio will start again when every time it is complete.

    preload:        Represents the audio should be loaded with the page loads.

    src:                 Represent the URL of the audio file.
    Example:

    
    <audio controls>
    
    <source src="Muskurane.mp3" type="audio/mpeg">
    
    </audio>
    
    


    2) <video> element:-

    <video> element represents sounds of music and other video file. There are basically 3 supported audio file formats (e.g. mp4, wav, ogg).

    Some browsers support these all three file formats (e.g. chrome, firefox and opera) but other browsers support some file formats (e.g. internet explorer and safari support only mp4 file format).
    Attributes:-

    There are following attributes of the <video> element with its description:

    autoplay:      Represents the video will start as quickly it is ready.

    controls:       Represents the display for video controls (e.g. play or pause button).

    muted:          Represents the muted audio of the video.

    loop:              Represents the video will start again when every time it is complete.

    preload:        Represents the video should be loaded with the page loads.

    src:                 Represents the URL of the video file.

    height:          Represents to sets the height of the video player.

    width:           Represents to sets the width of the video player.

    poster:          Represents an image to be shown while the video is downloading.
    Example:

     

    
    <video width="1280" height="780" controls>
    <source src=" Kaise btaey.mp4" type="video/mp4">
    </video>
    
    


    3) <track> element:-

    <track> element represents text track for <audio> and <video> elements. It is used to identify subtitles for video and other video or audio files enclosing text that should be visible when the audio or video is playing.
    Attributes:-

    There are following attributes of the <track> element with its description:

    src:                 Represents the URL of the track file.

    default:         Represents the default track is to be enabled if the user not mentioned the another track.

    label:             Represents the title of the track file.

    kind:              Represents the kind of the track file (e.g. kind=”subtitles”).

    srclang:         Represents the required language of the track file, if kind=”subtitles”.
    Example:

     

    
    <video width="1280" height="780" controls>
    
    <source src=" Kaise btaey.mp4" type="audio/mpeg">
    
    <track src="english.vtt" srclang="en" kind="subtitles" label="English">
    </video>
    
    


    4) <map> and <area> elements:-

    <area> element used inside an <map> element to represents a specific area with clickable. <area> elements are always nested inside an <map> element.

    And <map> element represents a clickable image on client-side. The essential name attribute of the <map> element is linked with the usemap attribute of the <img> element and creates a link (or relationship) between the map and the image.
    Attributes of the <map> element:-

    There are only one attribute of the <map> element with its description:

    name:            Represents the required name of an clickable image.

    Attributes of the <area> element:-

    There are following attributes of the <area> element with its description:

    alt:                  Represents the text for the area when the href attribute is not present.

    href:               Represents the hyperlink spot for the area.

    coords:          Represents the coordinates of the area.

    download:   Represents the spot will be downloading if the user clicks on the hyperlink.

    hreflang:      Represents the language of the URL.

    media:           Represents the URL is optimized for what media will be used.

    rel:     Represents the relationship between the URL and the current document.
    target:           Represents where to open the URL (e.g. _blank, _parent etc.)

    shape:           Represents the shape of the area.

    type:  Represents the media type of the URL.
    Example:

    
    <img src="house.png" width="200" height="150" alt="house" usemap="#housemap">
    
    <map name="housemap">
    
    <area shape="rect" coords="0, 40, 150" href="umarhouse.htm" alt="umarhouse">
    
    <area shape="rect" coords="85, 40, 7" href="qasimhouse.htm" alt="qasimhouse">
    
    </map>
    
    

    This answer accepted by usman. on January 17, 2018 Earned 15 points.

    • 123 views
    • 1 answers
    • 0 votes
  • Asked on August 17, 2017 in Entertainment.

    Top 10 Honeymoon Destinations in the world 2017:

    10) Grand Hotel Florence Italy

    9) Walt Disney World Orlando Florida

    8) Hyatt Regency Aruba Beach Resort & Casino

    7) Amankila Manggis Bali Indonesia

    6) Four Season Resort Hualalai

    5) Caneel Bay St. John US Virgin Islands

    4) Hilton Bora Bora Nui Resort & Spa French Polynesia

    3) Camino Real Acapulco Diamante

    2) Bellagio Hotel Las Vegas

    1) Fairmont Chateau Lake Louise Alberta Canada

    • 133 views
    • 1 answers
    • 0 votes
  • Asked on August 17, 2017 in Programming.

    Top 10 Programming Languages:

    1) JAVASCRIPT
    2) PYTHON
    3) JAVA
    4) PHP
    5) C#
    6) C++
    7) RUBY
    8) SWIFT
    9) RUST
    10) GO / GOLANG

    For More Detail:
    http://search4best.com/top-10-programming-languages-to-learn-in-2017/

    • 133 views
    • 1 answers
    • 0 votes
  • Asked on August 15, 2017 in Information.

    If BOOK = 43 and PEN = 35, COPY = 59

    Solve
    C = 3
    O = 15
    P = 16
    Y = 25
    C + O + P + Y = 3 + 15 + 16 + 25
    COPY = 59 is answer

    • 361 views
    • 1 answers
    • 0 votes
  • Asked on August 15, 2017 in Programming.

    How to Write an HTML Page

    Html Introduction:-

    HTML (Hyper Text Markup Language) is a basic language for developing web-pages. It was created to be an easy and flexible coding language. HTML is easy to learn, if you are interested in its complete functions you can keep learning our more articles. You can learn basic CSS as soon as possible with a basic HTML page, if you add color and interest to your web page.

    Setting up a document for Html page:-

    1. Open a simple text editor:   Notepad or Notepad++ is a good option that can be downloaded for free. You can write HTML with most text editing software, but that text editing software is more complex with automatic formatting can make it harder to organize your html page and not recommended for beginners.

    2. Save a file as a web page:    Select        File => Save As    in the top menu. Change the file format to “Web Page,” by extension “.html” or “.htm”. Save it in a location where you can easily find the file.

    3. Open the file in a web browser:     Double click the saved file, and it should automatically open as a blank web page in your browser.

    4. Refresh the web page to see saved changes:     Type this into your blank document: <strong>My First web page</strong>. Save the document. Refresh the blank web page in your browser, and you should see the word “Hello” appear at the top of the page in bold.


    5. Understand tags:
    HTML instructions are written in “tags” that tell the browser how to interpret and display your web page. They are always written between angle brackets like these <>, and are not displayed on the web page. You’ve already used them in the example above:

      • <strong> is “start tag” or “opening tag”. Anything written after this tag will be defined as “strong text” (bold).

     

      • </strong> is “end tag” or “closing tag”, which you can identify from the “/” symbol. This shows where the strong text stops. Most tags (though not all) need an end tag to function, so remember to include it.

     

    6. Set up your document with basic structure: Delete everything in your HTML document. Begin again with the following text, exactly as written in first point:

    <! DOCTYPE html>
    <html>
    <head>
    <title>My First Page</title>
    </head>
    <body>
    Some Code Here
    </body>
    </html>
    

     

     

      • <! DOCTYPE html>, It is an instruction to the web browser about what version of HTML the page is written in.

     

      • <html> tags are the hidden keywords within a web page that define how the browser must format and display the content.

     

    HTML documents are divided into two sections. The “head” section is for special information, like the title of the page. The “body” section                                 includes the main content of the page.

      • <head> tag is a container for metadata (data about data). Metadata is not displayed. Metadata typically define document title, styles, links, scripts, and other Meta information. The following tags describe metadata: <title>, <style>, <meta>, <link>, <script>, and <base>.

     

      • <body> tag is the main content area of an HTML document. You must use this element and it should be used just once. It should start immediately after the closing head tag and end directly before the closing html tag.

     

    This answer accepted by ArnavDarshit. on August 15, 2017 Earned 15 points.

    • 140 views
    • 1 answers
    • 0 votes
  • Asked on June 7, 2017 in Cooking.

    Samosa Recipe:

    1. Bring a medium saucepan of lightly salted water to a boil. …
    2. In a large saucepan over medium high heat, heat the oil. …
    3. Heat oil in a large, heavy saucepan over high heat.
    4. Mix cilantro and green chile peppers into the potato and beef mixture. …
    5. In small batches, fry until golden brown, about 3 minutes.
    • 1060 views
    • 2 answers
    • 0 votes