This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28359 - validator html error
Summary: validator html error
Status: RESOLVED FIXED
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-28 18:07 UTC by Alexandr
Modified: 2015-08-23 07:07 UTC (History)
1 user (show)

See Also:


Attachments

Description Alexandr 2015-03-28 18:07:52 UTC
1. Attribute placeholder is only allowed when the input type is e-mail, number, password, search, tel, text, or url.

html code:
name="email" placeholder="Формат: mail@mail.ru" type="email" class="f9"
I have type email but error in validation why???????



2. Bad value /files/БЛАНК ЗАКАЗА для регистрации ПОДФТ.xls for attribute href on element a: Illegal character in path segment: not a URL code point.

html code
href="/files/БЛАНК ЗАКАЗА для регистрации ПОДФТ.xls" class="k48">Здесь</a>
It is File...why this is Validation error???
Comment 1 Michael[tm] Smith 2015-03-30 08:35:03 UTC
(In reply to Alexandr from comment #0)
> 1. Attribute placeholder is only allowed when the input type is e-mail,
> number, password, search, tel, text, or url.
> 
> html code:
> name="email" placeholder="Формат: mail@mail.ru" type="email" class="f9"
> I have type email but error in validation why???????

Sorry about that. The cause was a bug I accidentally introduced very recently, but it's fixed now.


> 2. Bad value /files/БЛАНК ЗАКАЗА для регистрации ПОДФТ.xls for attribute
> href on element a: Illegal character in path segment: not a URL code point.
> 
> html code
> href="/files/БЛАНК ЗАКАЗА для регистрации ПОДФТ.xls" class="k48">Здесь</a>
> It is File...why this is Validation error???

The problem there is that URLs aren't allowed to contain space characters. So you have to write the space as "%20" instead.