Adding Image to Blog Page

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 14:- Adding Image to Blog Page

To add an image to a blog page in HTML, you would use the <img> tag. The <img> tag requires a source attribute, src, which specifies the URL or location of the image file. You should also include the alt attribute, which provides a text description of the image for accessibility purposes.

Here is an example of how to add an image to a blog page in HTML:

cssCopy code

<main>  <article>    <h2>Blog Title</h2>    <p>Blog content...</p>    <img src="image.jpg" alt="A description of the image">  </article> </main>

In this example, the src attribute specifies the location of the image file, and the alt attribute provides a description of the image. You can adjust the structure of the page as needed to fit your specific requirements, and you can also use CSS to adjust the appearance of the image.

2. Intro to HTML

2 Comments

@niteshguptav63
niteshguptav63 Nov 17, 2024 at 1:39 PM

I am not able to access videos from second class and further. I have already completed first class

@niteshguptav63
niteshguptav63 Nov 16, 2024 at 10:56 AM

When will I get my course?

@admin79
admin79 Nov 17, 2024 at 1:29 PM

Now, Your query was resolved.

Frequently Asked Questions About Sciaku Courses & Services

Quick answers to common questions about our courses, quizzes, and learning platform

Didn't find what you're looking for?

help_center Contact Support