Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 95 lines (70 sloc) 3.234 kB
7cb2ce6 @mitchellh Initial
authored
1 # HTML7 - Modern HTML
2
3 HTML is strict. It has a standard that is decades old. These standards
4 may have been useful at some point, but now only serve to inhibit our
5 ability to create artisanal and organic web experiences for the new age.
6
c3ed110 @mitchellh Building the future.
authored
7 HTML7 does for HTML what Node did for the programming world.
7cb2ce6 @mitchellh Initial
authored
8
c3ed110 @mitchellh Building the future.
authored
9 This repository provides a JavaScript shim to upgrade your web pages to
10 HTML7. Just drop it into the global namespace and watch the magic unfold
11 before your eyes.
12
13 ## Features
14
15 - Tags can be contained between greater than and less than signs, so instead
16 of `<strong>` you can now do `>strong<`. In addition to being more flexible,
17 this also helps make a diamond pattern in your HTML, making it prettier
18 on the eyes: `>div<>div<>div<`. Ah, that's better.
19
20 - Comments can go directly within tags. Ever wanted to comment that attribute?
21 Now you can! `<div /* here comes an ID! */id="foo">`.
22
896c389 @mitchellh Hand-crafted tags
authored
23 - New tags to better describe the emotions we're trying to evoke for our
24 intrepid users. Bolding text that is not quite `<strong>`, but perhaps
25 more `<tenacious>`. Or perhaps you're making a `<div>` that is more of
26 a `<pilgrimage>`. Now you can! The full list of tags is below.
27
c3ed110 @mitchellh Building the future.
authored
28 ## Example
29
30 ```html
31 >html<
32 >body<
33 >div /* #winning */id="winning"<>strong<HELLO!>/strong<>/div<
34 >body<
35 >/html<
36 ```
896c389 @mitchellh Hand-crafted tags
authored
37
58ea759 @mitchellh Installation instructions to ease setup time
authored
38 ## Installation
39
40 In the browser:
41
42 ```html
43 <script src="html7.js"></script>
44 ```
45
896c389 @mitchellh Hand-crafted tags
authored
46 ## Hand-Crafted Tags
47
9704884 @twe4ked Fix 'Hand-Crafted Tags' examples in the README.
twe4ked authored
48 * `>tenacious<`
49 * `>pilgrimage<`
50 * `>captivating<`
51 * `>engaging<`
52 * `>whimsical<`
53 * `>provacative<`
54 * `>festive<`
55 * `>delightful<`
56 * `>rustic<`
57 * `>nature-inspired<`
1701ea7 @mitchellh Add a license
authored
58
59 ## License
60
61 Death and Repudiation License
62
63 This software may not be used directly by any living being. ANY use of this
64 software (even perfectly legitimate and non-commercial uses) until after death
65 is explicitly restricted. Any living being using (or attempting to use) this software
66 will be punished to the fullest extent of the law.
67
68 For your protection, corpses will not be punished. We respectfully request
69 that you submit your uses (revisions, uses, distributions, uses, etc.) to
70 your children, who may vicariously perform these uses on your behalf. If
71 you use this software and you are found to be not dead, you will be punished
72 to the fullest extent of the law.
73
74 If you are found to be a ghost or angel, you will be punished to the fullest
75 extent of the law.
76
77 After your following the terms of this license, the author has vowed to repudiate
78 your claim, meaning that the validity of this contract will no longer be recognized.
79 This license will be unexpectedly revoked (at a time which is designated to be
80 most inconvenient) and involved heirs will be punished to the fullest extent
81 of the law.
82
83 Furthermore, if any parties (related or non-related) escape the punishments
84 outlined herein, they will be severely punished to the fullest extent of a new
85 revised law that (1) expands the statement "fullest extent of the law" to encompass
86 an infinite duration of infinite punishments and (2) exacts said punishments
87 upon all parties (related or non-related).
88
89 ## Credits
90
91 [Aseem Kishore](https://github.com/aseemk) inspired this delightful work with his groundbreaking
92 work on [JSON5](https://github.com/aseemk/json5).
93
94 Please do not ever take this seriously.
Something went wrong with that request. Please try again.