Giter VIP home page Giter VIP logo

html-reference's Introduction

html-reference's People

Contributors

jgthms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

html-reference's Issues

No installation instructions - how do I install this locally?

Hello,

I cloned the repo and then when I tried to just run it offline in the browser (no internet available where I'm going) - all I get is this:

**--- route: index --- {% include favicons.html %}
{{site.title}} icon {{site.title}} type
{% include carbon.html %}
{{site.subtitle}}
Learn by example: htmlreference.io is a free guide to HTML. It features all elements and attributes.

{% include social/button-twitter.html %} {% include social/button-facebook.html %}
{% include ff.html %}
Collections: Base elements Forms Lists Semantic Tables
{% include components/finder.html %}
{% include sister.html %} {% include modals/share.html %} {% include google-fonts.html %} {% include noscript.html %}**

Obviously this is some sort of server side generated markup, but no where in the readme it mentions how to install it.

Thanks,
Mark

Side effect in blocks with code example when you try to hover to social icons

Good day, @jgthms

I hope you are doing well. I’ve seen your new project http://htmlreference.io. Good job, my congrats. I’ve found interesting side effect in blocks with code example when you try to hover to social icons. To see more details, please follow this link http://take.ms/v1e9P. For fixing this side effect you can add to .highlight this rule transform: translateZ(0); This solution also will avoid repainting of part of the page.

Looking forward to hearing from you soon.

Best regards,
Vitaly

address defines a contact information not arbitrary addresses ( eg:postal addresses )?!

WHATWG source

HTML Standard

WHATWG definition

The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.

The address element must not be used to represent arbitrary addresses (e.g. postal addresses), unless those addresses are in fact the relevant contact information. (The p element is the appropriate element for marking up postal addresses in general.)

The address element must not contain information other than contact information.

WHATWG example

<ADDRESS>
 <A href="../People/Raggett/">Dave Raggett</A>,
 <A href="../People/Arnaud/">Arnaud Le Hors</A>,
 contact persons for the <A href="Activity">W3C HTML Activity</A>
</ADDRESS>

Your source

HTML Reference

Your definition

The address Defines a block for contact information.

Your example

<address>
  Infinite Loop,<br>
  Cupertino, CA<br>
  95014, USA
</address>

Key differences

Your example defines a postal address while ```address`` 's semantic is defining contact information.

Avoid multiple redirects in sidebar links

The sidebar links for elements look like: https://htmlreference.io/element/article.

If I click on that link, it 301 redirects to http://htmlreference.io/element/article/ (note HTTP), then to https://htmlreference.io/element/article/ (note HTTPS and a trailing slash). It would be much faster to load pages if the sidebar linked directly to the final URL.

href attribute on a tag is not required according to specification

First of all thanks for the awesome resource! I found some inaccuracy in the docs.

a tag can be used without href attribute.

Quote from specification:

If the a element has no href attribute, then the element represents a placeholder for where a link might otherwise have been placed, if it had been relevant, consisting of just the element’s contents.

I can submit PR if you think this page is worth to update.

"Semantic" group limited to HTML5 additions

Of course many HTML elements have "semantics", but those who are not special-purpose (form elements, media elements…) and are used to group or mark content with meaning include:

  • blockquote
  • h1 … h6
  • abbr, cite (not less semantic than time)
  • em, strong
  • etc.

Maybe this section could be replaced by a "Structure" section that focuses on elements used to describe the structure of a document or app, whether they are HTML4 or HTML5 elements. That would include things like:

  • head, body (could be useful)
  • h1 … h6
  • header, footer, main, section, aside, article
  • nav

And maybe leave out figure, figcaption, mark, time, blockquote.

Make the main table easier to read...

Hi!

I'm not sure if it conflicts with other CSSs in other pages because I don't know the project but this works for the main/index page:

#finder-list .finder-item:nth-child(even) {
    background: #CCC;
}

Regards, Rodrigo.

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.