Loading Page Content...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Visual assets—such as architectural diagrams, UI mockups, and charts—make technical documentation engaging and easy to understand. In Markdown, image syntax is closely related to link syntax, differentiated by a single leading exclamation mark (!).
Click to ZoomTo embed an image in Markdown, prefix the link syntax with an exclamation mark (!):
!): Tells the parser this is an embedded image, not a clickable text hyperlink.[ ]: Contain the Alt Text (alternative text used by screen readers and displayed if the image fails to load).( ): Contain the image source path or URL.Just like links, you can include an optional title displayed on hover:
<img src="/images/git-flow.png" alt="Git Architecture Flowchart" title="Git Branching Workflow Diagram" />
Alt text is essential for web accessibility:
| Bad Alt Text (Avoid) | Good Accessible Alt Text |
|---|---|
 |  |
 |  |
Often you want a badge, logo, or diagram preview to be clickable (e.g., clicking a thumbnail opens the full-resolution diagram, or clicking an npm badge opens the npm package page).
To make an image clickable, simply wrap the entire image expression inside a standard link:
Standard Markdown syntax does NOT provide native properties for adjusting image dimensions (like width or height). When you need to scale an image down (e.g. A logo that renders too large):
<img>:Raw HTML is 100% valid inside Markdown documents and gives you exact pixel control!
Database Schema', what purpose does the text inside the square brackets serve?Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
| Previous Lesson | Next Lesson |
|---|---|
| Links: Inline, Reference & Automatic URLs | Embedding Raw HTML & Media in Markdown |
Test your understanding of this lesson with 5 questions. Each question has one correct answer.