Once again, I need to preface this blog: I’m not an expert at anything. I learned how to make simple crud apps in a room full of incredibly obnoxious trust fund brats. I’m not an ‘expert’ software engineer, and neither are they, and neither is anyone who goes through flatiron school’s curriculum.
I hate that over half the advice and lessons from flatiron, if you count the post graduation stuff, is full of lessons on conning your way into positions. Pretend to be an expert. Fake it till you make it. Find the company email directory and pester the hell out of people until they give you a job offer. Etcetera.
Anyway, I don’t know what to write about for todays exercise in positioning myself as an expert. The lesson I learned in college this last week was how to use the IMG html tag. Pretty basic stuff.
I guess maybe that’s what I’ll write about today. I guess it’s all technically useful information.
So to start, you use pointy brackets. <>
You write img inside of them.
<img>
This tells the Internet that you’re going to place an image.
To determine the source of the image, you write src=”” after img. You fill the quotes with whatever the image source is.
<img src=”(whatever website or directory your image links to)”>
To make it accessible in case the image breaks or someone can’t see it, you should add an alt attribute. This ought to be text describing what the image is depicting.
<img src=”image directory” alt=”image description”>
That’s it.
That’s how you write an image tag.