Skip to content

Small and simple library to make HTML strings in javascript

Notifications You must be signed in to change notification settings

jrootham/makeHTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makeHTML

Small and simple library to make HTML strings in javascript

========

File list

testmh.html driver for jasmine testing

spec/Spec.js tests for jasmine testing

src/mh.js code

=========

Functions

single(tag,options)

return a self terminated html tag

tag - the tag name

options - an array of javascript objects with name and value elements

paired(tag,contents,options)

return an html tag

tag - the tag name

contents - contents of the tag

options - an array of javascript objects with name and value elements

See spec/Spec.js for examples

About

Small and simple library to make HTML strings in javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published