Giter Club home page Giter Club logo

html7's Introduction

HTML7 - Modern HTML

HTML is strict. It has a standard that is decades old. These standards may have been useful at some point, but now only serve to inhibit our ability to create artisanal and organic web experiences for the new age.

HTML7 does for HTML what Node did for the programming world.

This repository provides a JavaScript shim to upgrade your web pages to HTML7. Just drop it into the global namespace and watch the magic unfold before your eyes.

Features

  • Tags can be contained between greater than and less than signs, so instead of <strong> you can now do >strong<. In addition to being more flexible, this also helps make a diamond pattern in your HTML, making it prettier on the eyes: >div<>div<>div<. Ah, that's better.

  • Comments can go directly within tags. Ever wanted to comment that attribute? Now you can! <div /* here comes an ID! */id="foo">.

  • New tags to better describe the emotions we're trying to evoke for our intrepid users. Bolding text that is not quite <strong>, but perhaps more <tenacious>. Or perhaps you're making a <div> that is more of a <pilgrimage>. Now you can! The full list of tags is below.

Example

>html<
>body<
>div /* #winning */id="winning"<>strong<HELLO!>/strong<>/div<
>body<
>/html<

Installation

In the browser:

<script src="html7.js"></script>

Hand-Crafted Tags

  • <tenacious>
  • <pilgrimage>
  • <captivating>
  • <engaging>
  • <whimsical>
  • <provacative>
  • <festive>
  • <delightful>
  • <rustic>
  • <nature-inspired>

License

Death and Repudiation License

This software may not be used directly by any living being. ANY use of this software (even perfectly legitimate and non-commercial uses) until after death is explicitly restricted. Any living being using (or attempting to use) this software will be punished to the fullest extent of the law.

For your protection, corpses will not be punished. We respectfully request that you submit your uses (revisions, uses, distributions, uses, etc.) to your children, who may vicariously perform these uses on your behalf. If you use this software and you are found to be not dead, you will be punished to the fullest extent of the law.

If you are found to be a ghost or angel, you will be punished to the fullest extent of the law.

After your following the terms of this license, the author has vowed to repudiate your claim, meaning that the validity of this contract will no longer be recognized. This license will be unexpectedly revoked (at a time which is designated to be most inconvenient) and involved heirs will be punished to the fullest extent of the law.

Furthermore, if any parties (related or non-related) escape the punishments outlined herein, they will be severely punished to the fullest extent of a new revised law that (1) expands the statement "fullest extent of the law" to encompass an infinite duration of infinite punishments and (2) exacts said punishments upon all parties (related or non-related).

Credits

Aseem Kishore inspired this delightful work with his groundbreaking work on JSON5.

Please do not ever take this seriously.

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.