ChatGPT’s HTML Idea

Given the following prompt, this is what ChatGPT produced.

Prompt: make an html layout with a signature image at the top, a row of links that can be used for navigation below that are six elements, all half width of the page, all the same height. the first third and fifth element have text content, the 2nd 4th and 6th element have an image. At the bottom of the page is a small footer with a page list

Response:

Replace "signature.jpg", "image1.jpg", "image2.jpg", and "image3.jpg" with the actual paths to your images.

My thoughts

ChatGPT can make html templates from streams of thought. Once the program is generated, I’m able to now issues commands such as

“replace signature.jpg with fun.jpg”
“replace the link texts with Home, About, Contact, Sellers, Truth’s Real, and Church”
“change the nav links hrefs to / /about /contact /sellers /market /truthsreal also change the text of the 5 link to Market and the text of the 6 link to Truth’s Real”

and the chatbot can modify the previously generated code.

It saved some time on boilerplate for the padding and layout CSS. All in all, the utility exists.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top