HTML Audio Element :-
The HTML audio element is an HTML tag used to embed audio in a web page. It is used to embed sound clips and audio streams in a web page. It is usually used to play music, podcasts, and other audio content.
The HTML audio element has several attributes that can be used to control the audio playback. The most common attributes are src, preload, autoplay, controls, and loop.
The src attribute is used to specify the URL of the audio file. The preload attribute is used to specify whether the audio should be preloaded or not. The autoplay attribute is used to automatically play the audio when the page is loaded. The controls attribute is used to show the audio controls such as play, pause, and volume controls. The loop attribute is used to repeat the audio when it is finished playing.
Other attributes of the HTML audio element include muted, volume, crossorigin, and mediagroup. The muted attribute is used to mute the audio by default. The volume attribute is used to set the default volume of the audio. The crossorigin attribute is used to specify whether the audio should be loaded from a different domain. The mediagroup attribute is used to group multiple audio elements together.
The HTML audio element can also be used to show a poster image while the audio is playing. This is done using the poster attribute.
In addition to the attributes mentioned above, the HTML audio element also has several global attributes, such as id, class, title, and style. These are used to customize the look and feel of the audio element.
The HTML audio element can be used to embed sounds and audio streams in web pages. It has several attributes that can be used to control the audio playback and customize the look and feel of the audio element.
HTML Base Element :-
HTML base element is used in head tag. This defined the the all links target. If this has the value _blank then all the HTML links will open in another tab. If this has the value _self then all HTML links will open in same tabs.
< base target = "_blank"/ >
It has two attributes :)
1. Target, which has only two values
i) _blank
ii) _self
2. Href, which have a link.
HTML BDI Element :-
BDI stands for Bi-directional-Isolation.
The <bdi> tag isolates a part of text that might be formatted in a different direction from other text outside it.
This element is useful when embedding user-generated content with an unknown directionality.
This element is useful when embedding user-generated content with an unknown directionality.
If you want to write other language that starts from right like Urdu, Arabic then this tag will help you.
<bdi >Any text</bdi>
HTML BDO Element :-
BDO stands for Bi-derectional-Overide.
The <bdo> tag is used to change the direction of text. This tag has only one attribute "dir".
This attribute have two values :)
1. ltr
2. rtl
If this attribute has the value of "ltr" then text will be in left to right direction.
If this attribute has the value of "rtl" then text will be in right to left direction.
The direction will apply only the text that is iside the "bdo" tag.
HTML BR Element :-
The BR stands for break.
This is empty tag. This is used to to break the line.
The content after this tag will be in the next line.
0 Comments