HTML <a> name Attribute

Example The name attribute specifies the name of an anchor: <a name=”C4″>Chapter 4</a> Try it Yourself » Definition and Usage The <a> name attribute is not supported in HTML5. Use the id attribute instead. The name attribute specifies the name of an anchor. The name attribute is used to create a bookmark inside a document. Syntax <a name=”value”> […]

HTML <a> media Attribute

Example A link with a media attribute: <a href=”https://dwfaisalabad.com?output=print” media=”print and (resolution:300dpi)”> Open media attribute page for print.</a> Try it Yourself » Definition and Usage The media attribute specifies what media/device the linked document is optimized for. This attribute is used to specify that the target URL is designed for special devices (like iPhone) , speech […]