How to add pictures to HBuilderX-How to add pictures to HBuilderX

Time: 2024-05-11Source: Huajun Software TutorialAuthor: Shaobing

Recently, many friends have asked me how to add pictures to HBuilderX. So today I will bring you the operation method of adding pictures to HBuilderX. Friends who don't know how to do it can learn it.

First, open HBuilder and right-click on the left side of HBuilder to create a new web project.

How to add pictures in HBuilder

The project name can use camel case nomenclature.

How to add pictures in HBuilder

Pull the image into the img folder

How to add pictures in HBuilder

Then click index.html

How to add pictures in HBuilder

Write the corresponding code in the body

How to add pictures in HBuilder

After writing the code, save it and click the browser icon above to browse

How to add pictures in HBuilder

The above is the operation method of adding images to HBuilderX brought by the editor. I hope it can help everyone.

Related articles更多>>

Popular recommendations