From bc5d441b217d931d5a913c5b04d19f4781fb41d3 Mon Sep 17 00:00:00 2001 From: Akhil Pillai Date: Sat, 15 Dec 2018 01:01:44 +0530 Subject: [PATCH] Add HTML example code and a CodePen link (#28497) * Add HTML example code and a CodePen link * fix: removed codepen link --- .../add-placeholder-text-to-a-text-field/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/english/certifications/responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field/index.md b/guide/english/certifications/responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field/index.md index 3505148bd4..ffbc0465dd 100644 --- a/guide/english/certifications/responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field/index.md +++ b/guide/english/certifications/responsive-web-design/basic-html-and-html5/add-placeholder-text-to-a-text-field/index.md @@ -5,6 +5,10 @@ title: Add Placeholder Text to a Text Field `placeholder` is an attribute, not a tag. It can be used together with the attribute `text` of the `input` tag to create a text to visualize when the input box is empty. +```HTML + +``` + If you're stuck check for these issues: - you should add the `placeholder` attribute to the `input` tag already present in the code without removing anything; if by accident you removed or modified something remember that you can restart with a clean code by clicking `reset all code` button - the syntax is the same of every attribute: `` and the value to insert is indicated by the challenge's instructions (check for typos).