You don’t want to use a PDF for content on the web, you need a pixel-based format like PNG.
Saving as a .png file
- `File > Save for Web.
- If you want transparency, turn it on in the top right. You’ll be able to see the transparent parts display as a gray and white checkerboard.
- If you need a specific width, set the width under Image size.
- Click Save and specify a filename