Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- Coding Links in HTML
- Using Link Attributes for Accessibility
- Controlling Link Behavior with Attributes
- Styling Links with CSS
- Improving Accessibility and Usability
- Examples of Complex Link Implementations
- How to Open Links in a New Browser Window or Tab
- Creating and Linking to Placeholders
- How to Link to a Media File
- How to Create an Email Link
- How to Create a Phone Link
- Example: Contact Section with Email and Phone Links
- Links, Hyperlinks, and Blank Targeting Quiz 5 questions
Well done!
You have completed (UPI) Chapter 6: Navigating with HTML Links and Structuring Data with Tables!
Instruction
How to Link to a Media File
You can use the <a>
tag to link directly to various media files (e.g., PDFs, MP3s, images). The browser will either display or play these files in a new tab, depending on the file type and the browser’s capabilities.
Examples of Media Links
PDF Link: This will open a PDF in a new tab.
<a href="documents/instructors_summary.pdf" target="_blank">Read the Instructor's S...