Comments (6)
oh whoops! you are right!
i will fix this as soon as html validation becomes relevant! see you in 1994!
—
Daniel Winterdanielwinter.at
On Tue, Sep 22, 2015 at 1:11 AM, Geoffrey [email protected]
wrote:
Hello,
The<span class="paradeiser_dropdown">
can't be a SPAN element because it's not valid to have an UL element inside.
HTML basics :)Good luck.
Reply to this email directly or view it on GitHub:
#13
from paradeiser.
and fyi
https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.google.com%2F
not even google has valid html. html basics = rules are meant to be broken. as long as they don't give us an unstyled block link i will never ever respect html validation.
from paradeiser.
I know that lot of great websites are wrong.
It's not because Google is wrong that we must imitate him.
In your case you can do the same thing easily being W3C compliant :)
Thank you.
from paradeiser.
I don't know if 1% of the top 1000 websites would pass validation and I highly doubt it. It is also not valid to put an image (= icon) into an <a>
tag, but there is no other element that supports href
natively, so I would have to parse it via JS to make it HTML valid. This alone show how old and bad these rules are.
Every Browser support is the way it should, and it is not a broken markup like <a><span></a></span>
would be, it's just used in a different styling way. And semantically span and div have absolutely 0 meaning.
You are therefore free to change the markup in your own project, but I will not rewrite it in here as I see no reason to do so.
from paradeiser.
@creativejuiz you could also PR it
from paradeiser.
Yeah, I could, but I don't want to spend my time if @lucidlemon does not
agree with the change.
He is right, he can propose an invalid code for everyone, I'll use a
valid one in case of need. :)
Le 23/09/2015 21:10, Vinicius Kiatkoski Neves a écrit :
@creativejuiz https://github.com/creativejuiz you could also PR it
—
Reply to this email directly or view it on GitHub
#13 (comment).
from paradeiser.
Related Issues (17)
- HTML5 HOT 1
- Tidy imcompatibilities HOT 3
- Remove jQuery dependency HOT 3
- Paradeiser not working properly on small screens HOT 2
- Does it have to be .svg? HOT 3
- Option to Hide the Navigation Bar During Scroll HOT 6
- Paradeiser not Rendering Correctly on Chrome/Safari for iPhone HOT 6
- Multi levels HOT 1
- Providing Paradeiser over a CDN HOT 7
- demo page links to source code HOT 3
- The main navigation elements should also be in a list HOT 9
- More-Menüeinträge abgeschnitten, nicht scrollbar HOT 2
- Paradeiser not on npmjs? HOT 1
- CSS for .paradeiser ul effects all unordered lists within nav HOT 4
- nav icons in the demo page are broken
- js can no longer be used normally, the version has been updated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paradeiser.