Skip to content

This class can generate HTML5 documents programmatically. It provides an extensive list static functions that can take a few parameters and generate HTML open and close tags including some that were introduced in HTML5. Currently it supports tags for document head and body, paragraphs and character formatting, links, forms, lists, embedding audi…

License

Notifications You must be signed in to change notification settings

ManuDavila/php-html-constructor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML Model Constructor

This class can generate HTML5 documents programmatically. It provides an extensive list static functions that can take a few parameters and generate HTML open and close tags including some that were introduced in HTML5. Currently it supports tags for document head and body, paragraphs and character formatting, links, forms, lists, embedding audio and video, JavaScript tags, etc..

Methods from HTML class:

  • add
  • add_audio
  • add_li
  • add_option
  • add_row
  • addslashes
  • add_video
  • b
  • blockquote
  • br
  • button
  • charset
  • checkbox
  • cite
  • close_address
  • close_article
  • close_aside
  • close_audio
  • close_body
  • close_canvas
  • close_center
  • close_details
  • close_div
  • close_figure
  • close_footer
  • close_form
  • close_head
  • close_header
  • close_html
  • close_main
  • close_nav
  • close_section
  • close_script
  • close_select
  • close_style
  • close_table
  • close_ul
  • close_video
  • color
  • date
  • datetime
  • datetime_local
  • dialog
  • entities
  • entities_decode
  • div
  • email
  • favicon
  • figcaption
  • file
  • h1
  • h2
  • h3
  • h4
  • h5
  • h6
  • hidden
  • hr
  • iframe
  • image
  • input
  • i
  • label
  • a
  • link_style
  • mark
  • meta
  • month
  • number
  • object
  • open_address
  • open_article
  • open_aside
  • open_audio
  • open_body
  • open_canvas
  • open_center
  • open_details
  • open_div
  • open_figure
  • open_footer
  • open_form
  • open_head
  • open_header
  • open_html
  • open_main
  • open_nav
  • open_section
  • open_script
  • open_select
  • open_style
  • open_table
  • open_ul
  • open_video
  • p
  • password
  • pre
  • progress
  • radio
  • range
  • script
  • search
  • small
  • span
  • specialchars
  • specialchars_decode
  • strong
  • submit
  • summary
  • tel
  • text
  • textarea
  • title
  • time
  • token
  • url
  • url_encode
  • url_dedoce
  • week
Author: ManuDavila

About

This class can generate HTML5 documents programmatically. It provides an extensive list static functions that can take a few parameters and generate HTML open and close tags including some that were introduced in HTML5. Currently it supports tags for document head and body, paragraphs and character formatting, links, forms, lists, embedding audi…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published