GithubHelp home page GithubHelp logo

cbracco / html5-test-page Goto Github PK

View Code? Open in Web Editor NEW
831.0 31.0 314.0 105 KB

A page filled with common HTML elements to be used for testing purposes. Useful when building CSS systems for projects big and small.

Home Page: https://cbracco.github.io/html5-test-page

License: MIT License

HTML 100.00%

html5-test-page's Introduction

HTML5 Test Page

npm version

This is a test page filled with common HTML elements to be used to provide visual feedback whilst building CSS systems and frameworks.

I have not been able to find a dead-simple, standalone test page out there, so I made one. The HTML elements are loosely categorized as either text, embedded content, or form elements.

Versioning

HTML5 Test Page will be maintained using the Semantic Versioning guidelines. From here on out, releases will be numbered using the following format:

major.minor.patch

  • Breaking backwards compatibility increments major, while resetting minor and patch.
  • New code that does not break backwards compatibility increments minor, while resetting patch.
  • Bug fixes and other small changes increment patch.

Credits

Made by @cbracco. This project is based on the test file included in @necolasโ€™s normalize.css project.

html5-test-page's People

Contributors

97arushisharma avatar cbracco avatar connorjameslow avatar ep00ch avatar gilluminate avatar gipsi avatar gnowland avatar haroenv avatar jkratzik avatar johnpolacek avatar miller345 avatar racztiborzoltan avatar tomashubelbauer 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

html5-test-page's Issues

Standard, but not universally supported elements

Some elements are in the living standard (i.e. are not experimental - like menu - or deprecated - like big) but are not universally supported. One notable example is the dialog element (mdn) which is supported by Chrome and Edge, but must be enabled in Fire Fox and has no support in Safari browsers. Should these elements be included here? Maybe with a comment noting compatibility?

HTML Emojis

Using Emojis in HTML?

How to add Emojis?

Emojis look like images, or icons, but they are not.

They are letters (characters) from the UTF-8 (Unicode) character set.

UTF-8 covers almost all of the characters and symbols in the world.

The HTML charset Attribute
To display an HTML page correctly, a web browser must know the character set used in the page.

This is specified in the tag:

<meta charset="UTF-8">

Used this to test needed dark mode settings

Thanks for this!!!

Just passing this on. I used this to test what's the minimal set of CSS settings need to handle all html elements in dark mode.

At least on this page this is what was needed

You can test here and toggle your preference in your devtools (in Chrome Devtools->Settings->Preferences->Rendering->Emulate CSS media feature prefers-color-scheme.

comments ?

It'll be great to add also comments to essential parts of the file ?

Invalid markup

A HTML5 Test Page is very usefully, i think. But please check the markup.

image

Demo page is outdated

It seems the demo page currently uses the gh-pages branch, which is outdated. GitHub now lets you deploy Pages from any branch. I would recommend changing the Pages branch to master in Settings->Pages so that the demo site is always up-to-date.

No self-closing tag.

I always use this test page for when I'm writing anything to do with HTML or XML, but I've just realized a self-closing tag is nowhere in the file.

Conflict on Chromium browsers?

On Microsoft Edge & Brave Browser the Heading 1 <h1></h1> seems to have a conflict with the browser user agent. Some of the HTML semantics might have to be moved about.
image
image

tbody error!

Line 234 to line 235
Element tbody not allowed as child of element table in this context.
In /index.html

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.