This content originally appeared on DEV Community and was authored by Ivan Jeremic
Just an idea... One language for Elements/Style/Logic and no XML.
@W3C :D
{
type: HTMLCSS10
{
type: head;
meta: ....;
meta: ....;
use: './main.css'
},
{
type: body;
children: [
{
type: rect;
width: 500px;
height: 500px;
bgColor: rgb(0,0,0,0)
children: [
{
type: button;
width: 150px;
height: 30px;
onClick: () => {
alert('clicked')
}
bgColor: green;
},
{
type: button;
width: 150px;
height: 30px;
onClick: () => {
alert('cancel')
}
bgColor: red;
}
]
}
]
}
}
This content originally appeared on DEV Community and was authored by Ivan Jeremic
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.
APA
MLA
Ivan Jeremic | Sciencx (2021-06-22T15:38:01+00:00) HTMLCSS 10 Concept. Retrieved from https://www.scien.cx/2021/06/22/htmlcss-10-concept/
" » HTMLCSS 10 Concept." Ivan Jeremic | Sciencx - Tuesday June 22, 2021, https://www.scien.cx/2021/06/22/htmlcss-10-concept/
HARVARDIvan Jeremic | Sciencx Tuesday June 22, 2021 » HTMLCSS 10 Concept., viewed ,<https://www.scien.cx/2021/06/22/htmlcss-10-concept/>
VANCOUVERIvan Jeremic | Sciencx - » HTMLCSS 10 Concept. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/22/htmlcss-10-concept/
CHICAGO" » HTMLCSS 10 Concept." Ivan Jeremic | Sciencx - Accessed . https://www.scien.cx/2021/06/22/htmlcss-10-concept/
IEEE" » HTMLCSS 10 Concept." Ivan Jeremic | Sciencx [Online]. Available: https://www.scien.cx/2021/06/22/htmlcss-10-concept/. [Accessed: ]
rf:citation » HTMLCSS 10 Concept | Ivan Jeremic | Sciencx | https://www.scien.cx/2021/06/22/htmlcss-10-concept/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.