HTML – Multimedia elements audio and video

HTML – Multimedia elements audio and video

HTML5 has two multimedia elements, audio and video. audio audio elements embeds sound or audio stream The text inside the audio element will appear on the screen if your browser does not support the audio element common attributes: src – is the absolute location/address of the resource for a file on the Web or the relative address for a file on your server. mp3, wav and ogg are supported from almost all the browsers controls – shows controls to the audio element loop – loops the media file muted –…

HTML – Multimedia elements audio and video Read More

HTML – Semantic Elements PART 2

HTML – Semantic Elements PART 2

Here you can read part 1 figure – contains an image and used to group it with its caption figcaption figcaption – provides information about the image and it must be child of the figure element mark – The mark element represents a run of text in one document marked or highlighted. You can change its style in CSS code – The code element represents a fragment of computer code. abbr – The abbr element represents an abbreviation or acronym, optionally with its expansion. br – represents a line break…

HTML – Semantic Elements PART 2 Read More

HTML – Semantic Elements PART I

HTML – Semantic Elements PART I

Semantic elements emphasize on the meaning of the information instead of the style. For example article, section, header, nav, footer define the web page structure and give a meaning to different parts. It also improves the automated process of the document from search engines. That is why is important to use them header – it is intro for the web page that contains the logo, the name, navigation etc.. footer – it should be at the bottom of the web page and contains contact information, copyrights etc nav – navigation…

HTML – Semantic Elements PART I Read More