Svg HTML

HTML <svg> Tag The HTML <svg> tag represents Scalable Vector Graphics. To describe two-dimensional vector and mixed vector/raster graphics in XML, HTML SVG is used. It is a modularized language and a W3C recommendation. The XML text files contain the definition of the SVG images and their behaviors. Every element and every attribute in an … Read more

Picture HTML

HTML <picture> Tag In responsive web designing, it is required to load different images based on their viewport, height, width, orientation, and pixel density, and this is where the HTML <picture> tag is used. It was introduced in HTML5. Multiple <source> elements and an <img> elements can be placed inside an HTML <picture> element. The … Read more

Param HTML

HTML <param> Tag To pass the parameters to the plugin included with the <object> tag, the HTML <param> tag is used with the HTML <object> tag. Multiple <param> tags can be used within an <object> element. Syntax: <param name=” ” value=””> Example: <!DOCTYPE html> <html> <body> <p>Example:</p> <object data=”peacock.wav”> <param name=”autoplay” value=”true”> </object> </body> </html> … Read more

Object HTML

HTML <object> Tag To embed multimedia files (video, audio, image, PDF, Java Applets, or another page) on a web page, the HTML <object> tag is used. To pass the parameters to the plugin included with the <object> tag, the HTML <param> tag is used with the HTML <object> tag. The content within the <object> tag … Read more

Output HTML

HTML <output> Tag To display the result of a certain calculation or the outcome of a user action the HTML <output> tag is used. It was introduced in HTML5. Syntax: <output>……</output> Example: <!DOCTYPE html> <html> <body> <form oninput=”z.value=parseInt(x.value)+parseInt(y.value)”> <label>First Value:</label><br><br> <input type=”number” id=”y” value=”100″><br><br>+<br><br> <label>Second Value:</label><br><br> 0<input type=”range” id=”x” value=”100″>100 <br><br>=<br><br> <label>Output:</label> <output name=”z” for=”x … Read more

Option HTML

HTML <option> Tag Within a <select> or <datalist> element, we can define options in a dropdown list using the HTML <option> tag. Each dropdown list in HTML contains at least one <option> element. Syntax: <option value=””>…..</option> Example: <!DOCTYPE html> <html> <body> <h3> Select an Option:</h3> <select> <option value=”Apple”>Apple</option> <option value=”Mango”>Mango</option> <option value=”Pineapple”>Pineapple</option> <option value=”Papaya”>Papaya</option> </select> … Read more

Optgroup HTML

HTML <optgroup> Tag Within an HTML <select> element, we can group related <options> in a drop-down list, using the HTML <optgroup> tag. Thus it provides easy access to the dropdown list, especially for a list with a large number of options. Syntax: <optgroup label=” “>……..</optgroup> Example: <!DOCTYPE html> <html> <body> <h3> Select an Option:</h3> <select> … Read more

OL HTML

HTML <ol> Tag As the name itself suggests, all the list items are marked with numbers by default in an Ordered List or Numbered List. It is popularly known as HTML Ordered List and hence starts with the <ol> tag. The list items in an HTML Ordered List start with the <li> tag. Tag Specific … Read more

Noscript HTML

HTML <noscript> Tag To specify alternate content, if scripting is disabled from the browser and if the user still wants to access the web page, the HTML <noscript> tag is used. It can be placed either within the HTML<head> tag or the HTML <body> tags. When used inside the HTML <head> tag, it must contain … Read more