All Projects → tipsy → J2html

tipsy / J2html

Licence: apache-2.0
Java to HTML generator. Enjoy typesafe HTML generation.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to J2html

Emerald
HTML5 templating engine for Nimrod
Stars: ✭ 91 (-84.93%)
Mutual labels:  html5, template-engine
Twital
Twital is a "plugin" for Twig that adds some sugar syntax, which makes its templates similar to PHPTal or VueJS.
Stars: ✭ 116 (-80.79%)
Mutual labels:  html5, template-engine
Yarte
Yarte stands for Yet Another Rust Template Engine
Stars: ✭ 189 (-68.71%)
Mutual labels:  html5, template-engine
Fe Interview Questions
目前最全的前端开发面试题及答案
Stars: ✭ 502 (-16.89%)
Mutual labels:  html5
Jekyll picture tag
Easy responsive images for Jekyll.
Stars: ✭ 515 (-14.74%)
Mutual labels:  html5
Bootstrap Fileinput
An enhanced HTML 5 file input for Bootstrap 5.x/4.x./3.x with file preview, multiple selection, and more features.
Stars: ✭ 5,097 (+743.87%)
Mutual labels:  html5
Rx Player
DASH/Smooth HTML5 Video Player
Stars: ✭ 600 (-0.66%)
Mutual labels:  html5
Awesome Meta And Manifest
⚡ Awesome collection of meta tags & manifest properties.
Stars: ✭ 499 (-17.38%)
Mutual labels:  html5
Server
[WIP] Ulterius™ server where all the magic happens 🚀
Stars: ✭ 595 (-1.49%)
Mutual labels:  html5
Blade
🔪 A standalone version of Laravel's Blade templating engine for use outside of Laravel.
Stars: ✭ 542 (-10.26%)
Mutual labels:  template-engine
Naomi
Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Stars: ✭ 544 (-9.93%)
Mutual labels:  html5
Awesome Glsl
🎇 Compilation of the best resources to learn programming OpenGL Shaders
Stars: ✭ 530 (-12.25%)
Mutual labels:  html5
Mui Demo
一个关于mui的demo仓库。
Stars: ✭ 562 (-6.95%)
Mutual labels:  html5
Yii2 fecshop
yii2 ( PHP ) fecmall(fecshop) core code used for ecommerce shop 多语言多货币多入口的开源电商 B2C 商城,支持移动端vue, app, html5,微信小程序微店,微信小程序商城等
Stars: ✭ 4,864 (+705.3%)
Mutual labels:  html5
Front End Daily Challenges
As of October 2020, 170+ works have been accomplished, challenge yourself each day!
Stars: ✭ 598 (-0.99%)
Mutual labels:  html5
Twirl
Twirl is Play's default template engine
Stars: ✭ 498 (-17.55%)
Mutual labels:  template-engine
Learning Resources
"Technology Gold mine" to collect and share materials/resources
Stars: ✭ 573 (-5.13%)
Mutual labels:  html5
Grmustache.swift
Flexible Mustache templates for Swift
Stars: ✭ 538 (-10.93%)
Mutual labels:  template-engine
Zrender
A lightweight graphic library providing 2d draw for Apache ECharts
Stars: ✭ 5,122 (+748.01%)
Mutual labels:  html5
Tabler
Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap
Stars: ✭ 24,611 (+3974.67%)
Mutual labels:  html5

Workflow

j2html

Java to HTML generator. Enjoy typesafe HTML generation.

The project webpage is j2html.com.

Getting started

Add the maven dependency

<dependency>
    <groupId>com.j2html</groupId>
    <artifactId>j2html</artifactId>
    <version>1.4.0</version>
</dependency>

Or the gradle dependency

compile 'com.j2html:j2html:1.4.0'

Import TagCreator and start building HTML

import static j2html.TagCreator.*;

public class Main {
    public static void main(String[] args) {
        body(
            h1("Hello, World!"),
            img().withSrc("/img/hello.png")
        ).render();
    }
}

The above Java will result in the following HTML:

<body>
    <h1>Hello, World!</h1>
    <img src="/img/hello.png">
</body>

Find more examples at http://j2html.com/examples.html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].