HTML5 Video and Audio tags

HTML5 Video Tags

HTML5 Video TagsComments
VIDEOThe main tag to add a video
SOURCEAdd a source attribute
SRCSpecify where the video is
TYPEAdd codex values

HTML5 Audio Tags

HTML 5 Audio TagsComments
AUDIOThe main tag to add audio
SOURCEAdd a source attribute
SRCSpecify where the video is
TYPEThe main tag to add audio

HTML5 Options for the Audio Tag

Audio AttributesValues
AUTOPLAYtrue or false
LOOPtrue or false
CONTROLStrue or false
PRELOADnone, auto, metadata

Comments