Skip to main content

HTML Embedded Elements

 << img, image map, iframe, embed, object, param, video, audio, source, track, media, MathML, svg. >>

Lets take each of them one by one, just by an example.

Img element

<img src=" " alt=" " height=" " width =" ">

Image map element

Generally we do link a whole image, but with images map we can link any part of the image, like the following example:

<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/01/Moscow_July_2011-16.jpg/220px-Moscow_July_2011-16.jpg" width="200" height="200" alt="Planets" usemap="#wow">
<map name="wow">
<area shape="rect" coords="0,0,50,50" href="http://example.com/">
<area shape="rect" coords="50,0,200,200" href="http://example.org/">
</map>

Only trick is to use usemap="#____" with hash in img src; after it use this without hash in map. And coordinates work from top-left, x (horizontal),y (perpendicular).

Iframe element

Iframe embeds other webpage into your webpage, most commonly used with YouTube videos. But you shouldn't embed anybody's website without permission, if they allow then it is just another case.

<iframe src="http://example.com" height="600px" width="600px"></iframe>

Embed element

In short, <embed> is used for embedding Flash, such as in below example:

<embed src="somefile.swf">

Object element

It works something like iframe.

<object data=" " type= " ">

Param element

Param stands for "parameter," it is usually nested inside <object> element. See example:

<object data="xyzfile.wav">
<param name="autoplay" value="false">
<param name="controller" value="true">
</object>

Video element

It is used for embedding video on a webpage.

<video src="thisfile.mp4" controls width=" " height=" "></video>

Audio element

This element is used for embedding audio on a webpage.

<audio src="somefile.mp3 controls></audio>

Source element

This element is used for fallback purpose for <audio> and <video> format, when one format doesn't work on a browser, then it falls back on alternate format. See example:

Example 1

<audio controls>
<source src="somefile.mp3" type="audio/mp3">
<source src="somefile.ogg" type="audio/ogg">
</audio>

Example 2

<video controls width="500px" height="400px">
<source src="thisfile.mp4" type="video/mp4">
<source src="thisfile.ogv" type="video/ogg">
</video>

Track element

This element works as a child of <audio> and <video> element, its purpose is to provide a readable text along with audio or video (when played). Here is a good post on tract element, I really love it: https://www.html5rocks.com/en/tutorials/track/basics/. I think tract element isn't fully supported in all the browsers.

Media elements

Above <audio>, <video>, <source> and <track> elements come under media elements.

MathML element

MathML is Mathematical Markup Language, used for doing Mathematical equations. Right now, it isn't supported by all the browsers, but you can read about it: https://www.w3.org/TR/MathML2/chapter2.html.

SVG elements

SVG (Scalable Vector Graphics) is my favourite, it helps you draw anything. Good thing about SVG is, it is self-adjusting, as the page size decreases or increases, it also decreases or increases. Here is a good post on SVG: https://www.ibm.com/developerworks/library/wa-scalable/index.html. But I'd prefer softwares which convert an image into SVG image.

 

Comments

Popular posts from this blog

Golden Rule Of Three Years To Get Success

Give yourself completely to whatever you like for three years -- let it be your career, business, health or any other thing of life. Why three years, exactly? Because what is the advantage of sticking to something which isn't giving any result. Time is precious, don't waste if the results aren't coming. Why not less than three years? If we spread these three years for success, we can assume first year is dominated by getting knowledge of the field, second year dominated by execution, and the third year comes the maturity where knowledge and experience of execution strike for success.  As an exeption we can stretch these three years into five or six years -- only when there are uncontrollable issues like of health or circumstantial issues.

108 Names Of Shri Surya From Mahabharata

Surya (Sun) is the most important planet as well as a deity. Worshiping Surya increases prana-shakti (life-force), it rays destroy many diseases and it is the biggest source of never ending energy. There is a Strota, called Surya-Kavach, it is chanted for protection, as a deity his protection is very strong — remember the case of Karna in Mahabharata, he was invincible due to Surya-Kavach. This Surya-Kavach wasn’t as it is shown in movies, it was a Mantrik protection which Karna had and on Indra request he promised not to use it in the war. We take note of popular deities, but Surya as a deity is not lesser than others — though there are less Sanskrit literature on Surya (as I know), but whatever it is, like Surya Kavach and Aditya Hriday Strota, I think, is very potent. English Name | हिंदी नाम 1) Om Suryaay Namah | ॐ सूर्याय नम: 2) Om AryMane Namah | ॐ अर्यमणे नम:

Name List Of 64 Yogini / चौँसठ योगिनी

It is a list of 64 Yogini, if you want these names in Stotra form you can get from another post of this blog. These names are very useful for doing, Jaap, Puja, Tarpan, and Havan. These names are also used in making 64 Yogini Yantra in which there are 64 squares and in each square, name of each Yogini is written, then everyday worship of this Yantra starts.  For Pujan (Poojan): ओं ---------- देव्यै पूजियामि नम: ! (e.g., ओं गजानना देव्यै पूजियामि नम: ! ) For Tarpan: ओं ---------- देव्यै  तर्पयामि नम: ! (e.g., ओं गजानना देव्यै  तर्पयामि नम: !) Together Pujan+Tarpan: ओं ---------- देव्यै   पूजियामि / तर्पयामि नम:: ! (e.g., ओं गजानना देव्यै   पूजियामि / तर्पयामि नम:: ! ) For Jaap : ओं ---------- देव्यै नम:! (e.g., ओं गजानना देव्यै नम:!) For Havan:  ओं ---------- देव्यै स्वाहा ! (e.g., ओं गजानना देव्यै स्वाहा !) Note: in the empty space ( ---------- ) you can fill the name of each yogini for each time. List of 64 Yogini / चौँसठ योगिनी For better readability I put this list in four parag

Moringa Soup 🍲

I don't like taste of Moringa but as it has a lot of health benefits, I think it should be eaten once in a week or in fifteen days. Health benefits of Moringa leaves Though bitter in taste, it is considered rich in nutrients and antioxidants. It has anti-inflammatory properties, also it is supposed to lower down cholesterol and blood sugar level. It is considered to have numerous health advantages. Where to find Moringa?  Available at any vegetable shop, weekly mandi market or search 'em at online stores. Moringa Soup Ingredients: Moringa cut into 2 inches pieces, onions, garlic, masoor dal (लाल वाली), ginger, shimla mirch, green chili, rock salt, kali mirch, and turmeric powder.

Essential Nyas For A Sadhak To Do Everyday

Nyas means to establish something (Devi / Devta energy) in our body: it purifies our body and makes our body and mind worthy of chanting a mantra / stotra. A Sadhak should do भूत-शुद्धि, बहिर्मातृका न्यास, अन्तर्मातृका न्यास, and षोढा-न्यास daily, 'coz we worship Devta by becoming a Devta, and in that Nyas helps us a lot. In every mantra generally many kinds of Nyas are given prior to chanting a mantra, they are usually shorter and doesn't take much time. They are essential and shouldn't be skipped. These  भूत-शुद्धि, बहिर्मातृका न्यास, अन्तर्मातृका न्यास, and षोढा-न्यास take comparatively longer time duration.  भूत-शुद्धि means purification of five elements in our body, that is Earth (Prithvi), Water (Jal), Fire (Agni), Air (Vayu), and Ether (Aakash). बहिर्मातृका Nyas and अन्तर्मातृका Nyas, establish  "energy of our VarnMala" in our body-parts and in our chakras respectively.   षोढा-न्यास is of two types Lagu Shoda Nyas and Maha Shoda Nyas.

Nutritional Diet Plan (Raw) To Any Disease

It may help in any kind of chronic disease -- we just need to learn how to prepare them.  Things to eat / drink: Smoothie Salad / fruits / vegetables Steamed vegetables (when raw vegetables are difficult to eat.) Juices Soup Coconut Milk Cold-pressed edible virgin coconut oil (to be taken as raw one to three teaspoons a day.) Taste enhancers: Chutney / Tahini / Kokum etc. Crushed "garlic, ginger, raw turmeric, raw amala, green chilly" (It is v. good) Banana Icecream (sometimes, not to be eaten regularly, as it may slow down digestive fire.) Once in a day Moon Dal and brown rice. Soaked peanuts and dry-fruits in lower quantity initially. We need to choose what to eat in breakfast, lunch, evening-snacks and dinner. In raw diet, we need to eat a lot.  Just open Youtube and search for "Smoothie" you may get plenty of videos, like that you can search for Soup, Chutney and other items. Try to use above diet plan for a week. Also one needs to check nutritional deficiency f

Utkeelan Mantra & Stotra Vidhan Of Shri Batuk Bhairav

Below is Utkeelan Mantra & Stotra of Shri Batuk Bhairav. You can also get  Shap Vimochan & Shapoddhar Mantra / Stotra from here . Both go hand in hand for removing curse and unlocking Keelan of Shri Batuk Bhairav Mantras and Stotras. ।।  विनियोग  ।। ॐ अस्य श्रीबटुक-भैरवोत्कीलन-मन्त्र- स्योग्र-भैरवो ऋषिः, अनुष्टुप् छन्दः, श्रीभैरवो देवता, वं बीजं, ह्रीं शक्तिः, क्लीं कीलकं, मम सर्वाभीष्ट- सिद्धधर्थे बटुक-भैरवोत्कीलन-मन्त्र-जपे विनियोगः । ।।  ऋष्यादि-न्यास  ।। उग्रभैरव-ऋषये नमः शिरसि । अनुष्टुप् छन्दसे नमः मुखे । श्रीभैरव देवतायै नमः हृदि । वं बीजाय नमः गुह्ये । ह्रीं शक्तये नमः पादयोः । क्लीं कीलकाय नमः नाभौ । मम सर्वाभीष्ट- सिद्धघर्थे बटुक-भैरवोत्कीलन-मन्त्र-जपे विनियोगाय नमः सर्वाङ्गे । ।।  कर-न्यास  ।। ॐ अंगुष्ठाभ्यां नमः । ह्रीं तर्जनोभ्यां नमः । क्लीं मध्यमाभ्यां नमः । ऐं अनामिकाभ्यां नमः । हू कनिष्ठिकाभ्यां नमः । म्रां कर-तल-कर- पृष्ठाभ्यां नमः । ।।  षडङ्ग-न्यास  ।।  बटुकाय हृदयाय नमः । उमा-पुत्राय शिरसे स्वाहा । एकादश-रुद्रावताराय शिखायै वषट् । वीरभद्रावताराय कवचाय हुम् ।

Why Two Types Of Navratri Are More Popular

Navratri comes four times in a year: 1) In Chitra (Vasant) Maas, 2) In Sharad (Ashwin) Maas, 3) In Ashadha (आषाढ़) Maas, and 4) in Magh Maas. As it is written in the following Shaloka: चैत्रे आश्विने तथाषाढे, माघे कार्यों महोत्सवः। नव रात्रे महाराज! पूजा कार्या विशेषतः ।।  Generally, we are told that two Navratri are for public and rest two Navratri are called Gupt Navratri. These two Gupt Navratri are for the Sadhak --- but it isn't the exact fact. All four Navratri are for general public and for all dedicated Devi Sadhak, there is no secret. Fact is during the time of Chaitra and Sharad, weather changes a lot -- so there are chances of getting diseases. During Navratri due to fasting and purification, all kind of diseases can be avoided, that's why these two Navratri gained significance among public.