Giter Club home page Giter Club logo

Comments (6)

lucidlemon avatar lucidlemon commented on August 17, 2024

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.

lucidlemon avatar lucidlemon commented on August 17, 2024

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.

geoffreycrofte avatar geoffreycrofte commented on August 17, 2024

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.

lucidlemon avatar lucidlemon commented on August 17, 2024

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.

viniciuskneves avatar viniciuskneves commented on August 17, 2024

@creativejuiz you could also PR it

from paradeiser.

geoffreycrofte avatar geoffreycrofte commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.