Post History
It turns out the alt text is enclosed in single quotes if the alt text contains double quotes. What happens if the alt text contains both single and double quotes? 
- ```
- > 
- ## The same image with a broken link to show the alt text
- ```text
- 
- ```
- > 
- It turns out the alt text is enclosed in single quotes if the alt text contains double quotes. What happens if the alt text contains both single and double quotes?
- ```text
- 
- ```
- > 
- ## The same image with a broken link to show the alt text
- ```text
- 
- ```
- > 
- ## How this still works
- When the alt text contains both single and double quotes, double quotes are used to contain the alt text, and the contained double quote is represented as `"`, which the browser renders as `"` as required:
- ```text
- <img alt="both ' and " inside" src="https://a.dev.codidact.org/assets/logo.png">
- ```
#1: Initial revision
It turns out the alt text is enclosed in single quotes if the alt text contains double quotes. What happens if the alt text contains both single and double quotes? ```text  ``` >  ## The same image with a broken link to show the alt text ```text  ``` > 

