How do I ask for an email address in an HTML form?
I want a label and a simple browser check for an email field. Is a placeholder enough? ```html <input placeholder="Email"> ``` CookieSensei starter Q&A · example discussion.
Loading…
Questions worth sharing
See what others are asking. Browse every published question by topic, find an answer, or add your own experience.
I want a label and a simple browser check for an email field. Is a placeholder enough? ```html <input placeholder="Email"> ``` CookieSensei starter Q&A · example discussion.
I want one control to open lessons and another to submit a form. Should both be links? ```html <a href="#">Submit my form</a> ``` CookieSensei starter Q&A · example discussion.
I put an image in an images folder, but the page shows a broken image. What should I check? ```html <!-- Folder: images/logo.svg --> <img src="logo.svg" alt="Example logo"> ``` CookieSensei starter Q&A · example discus…
My navigation looks fine on a wide screen but its links do not fit in a narrow space. ```html <style> nav { display: flex; gap: 12px; } a { white-space: nowrap; } </style> <nav><a>Lessons</a><a>Community</a> <a>Work…
I added a class to the heading, but the CSS rule does not seem to apply. ```html <style> welcome { color: #216653; } </style> <h1 class="welcome">Hello, learner</h1> ``` CookieSensei starter Q&A · example discussion.
I can write text on a web page. Which part controls its structure and which part controls how it looks? ```html <h1>My first page</h1> <p>I am learning to build for the web.</p> ``` CookieSensei starter Q&A · example d…