The <h1> and <p> tags should be within the <body> tag, not inside the <head> tag.
The <input> element does not have closing tags. Instead, it should be self-closing (e.g., <input ... />).
You have duplicate id attributes (id='email') for the <label> and <input> elements. IDs should be unique within the document.
The language attribute in the <html> tag is misspelled; it should be lang='en' instead of lang='eng'.
The <label> elements should have their for attribute matching the id of the associated input element. Currently, the for attribute of the labels for name and email inputs are missing.
The text content inside the <input> element (e.g., “Enter name”) should be moved to the associated <label> element.
Hi, this is my first post.
I’m trying to improve the look of my survey form by adding a background image, but I can’t figure out how to make Google images or images from my computer work in the code.
What should an src link look like to be valid in the project?
Welcome to FFC forum.
To use an image as a background in your survey form, you need to provide the correct source (src) link to the image in your HTML code. If you’re using an image from Google Images or from your computer, you’ll need to make sure the image is hosted online and accessible via a URL.
Here’s an example of what the src attribute should look like in your HTML code:
<img src="https://example.com/image.jpg" alt="Description of the image">
Replace "https://example.com/image.jpg" with the actual URL of your image. If you’re using an image from your computer, you’ll need to upload it to a web server or use a file hosting service that provides a direct link to the image. Once you have the URL, you can use it in the src attribute.
Make sure to replace "Description of the image" with a brief description of the image for accessibility purposes.