0% found this document useful (0 votes)
4 views5 pages

Basics of HTML Presentation

HTML (Hyper Text Markup Language) is a markup language used to describe web pages with tags that come in pairs. XHTML (Extensible HyperText Markup Language) is a stricter version of HTML 4.01. The document also explains the use of <audio> and <video> tags in HTML5, detailing their attributes and purposes for embedding media files on web pages.

Uploaded by

thekrt12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

Basics of HTML Presentation

HTML (Hyper Text Markup Language) is a markup language used to describe web pages with tags that come in pairs. XHTML (Extensible HyperText Markup Language) is a stricter version of HTML 4.01. The document also explains the use of <audio> and <video> tags in HTML5, detailing their attributes and purposes for embedding media files on web pages.

Uploaded by

thekrt12
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

HTMl

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:

• Opening tag: <name>

• Closing tag: </name>


Most tags appear in pairs. The opening tag and its closing tag together specify a container
for
the content they enclose. Not all tags have content. If a tag has no content, its form is
<name />.The container and its content together are called an element. If a tag has
attributes, they appear between its name and the right bracket of the opening tag.
<a href=“default.html”> this is a link </a>

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.

How to write HTML5 comments


<!-- …….. .Comments increases the readability of programs. Browsers ignore
comments, unrecognizable tags, line breaks, multiple spaces, and tabs. Tags are
suggestions to the browser.
Thank You

You might also like