Basics of HTML Presentation
Basics of HTML Presentation
HTML stands for Hyper Text Markup Language. Hyper Text is text which contains links to
other
texts. It is a markup language consists of a set of markup tags. HTML uses markup tags to
describe web pages. HTML markup tags are usually called HTML tags. HTML tags are
keywordssurrounded by angle brackets like <html>. HTML tags come in pairs like <b> and
</b>.
XHTML stands for Extensible HyperText Markup Language. XHTML is almost identical to
HTML
4.01. XHTML is a stricter and cleaner version of HTML 4.01.
Fundamental syntactic units of HTML are called tags. Elements are defined by tags.
Tag format:
What is the use of <audio> tag? Write its important attributes with their
purpose
Prior to HTML5, a plug-in was required to play sound while a document was being
displayed.Audio information is coded into digital streams with encoding algorithms.
Audio encodingalgorithms are called audio codecs – Ex: MP3.
Coded audio data is stored in containers (like zip file). It is a way to pack data into a
file. There are three different audio container types. The <audio> tag is used to
embed an audio file on a web page. The src attribute specifies the location of the
audio file. You can use control attributes to specify the audio file to be played, the
volume, and the playback rate. It may contain multiple <source> tags to specify
multiple audio formats.
What is the use of <video> tag? Write its important attributes with their
purpose.
Prior to HTML5, there was no standard way to play video clips while a document was
being
Browser. The algorithm used for encoding video are called video codec. Video codecs are
stored in containers. The <video> tag is used to embed a media player that supports
video playback on a web page. Even for <audio> media files you can use the <video>
tag but you should use the <audio> tag for <audio> media files. The src attribute
specifies the location of the video file. You can use control attributes to specify the video
file to have controls like play, pause, stop, volume, etc. It may contain multiple
<source> tags to specify multiple video formats.