# placeholder

##### 如果用户选择输入文本并且输入值为空字符串，我可以保留占位符吗？(Can I preserve placeholder if the user select the input text, and the input value is empty string?)

2022-01-13 02:24:10    分类:问答    jquery   ios5   placeholder

##### 在降价文本中替换占位符（变量）的最简单方法？(Easiest way to replace placeholders (variables) in markdown text?)

2022-01-12 15:30:57    分类:技术分享    markdown   placeholder   pandoc

##### HTML 中的占位符与数据占位符(placeholder vs. data-placeholder, in HTML)

2022-01-11 21:44:30    分类:技术分享    html   placeholder

##### Does using a placeholder as a label comply with WCAG 2?

I get that using placeholder text as a label is not very accessible, but does it technically go against WCAG 2? I could not find anything explicit but I wonder if a more lawyerly reading of that standard would find something in there.

2022-01-11 18:41:07    分类:问答    accessibility   placeholder   wcag   section508   wcag2.0

##### Easiest way to replace placeholders (variables) in markdown text?

I have need for an open format to write stories in a generic way (with placeholder/variables). To make the stories case specific I would like to set a list of key/value pairs and apply them when publishing. I also want to separate styling from content so I can easily publish to web, pdf etc. Example: @varname@ is a great place. I chose Markdown to solve the content/styling separation but I do not know an easy way to parameterize certain parts of the text and have them filled in when I generate the html/pdf outputs with a tool like pandoc. Any suggestions? Can this be done with markdown or is

2022-01-09 02:20:03    分类:问答    markdown   placeholder   pandoc

##### placeholder vs. data-placeholder, in HTML

What's the difference between the two? placeholder vs. data-placeholder? They both seem to produce the same results. <select data-placeholder="Enter name"> <select placeholder="Enter name"> What's the difference? (Which one's stronger?)

2022-01-08 05:56:08    分类:问答    html   placeholder