QuykHtml

Generate HTML quickly

QuykHtml is a python library that allows you to quickly generate websites. The key is to chain together commands to quickly define, combine and modify elements.

Examples | FAQS | Methods

(Parent) QuykHtml Object
object.new( type ) | Returns: Element Object - Returns an Element Object
Object.render() | Returns: The Raw HTML and opens chrome to render the HTML
Object.generate_skeleton() | Returns: N/A - Generates a simple skeleton of a website in the program directory
| (Child) 'new_obj' - Element
Object.style.set( html_style_string ) | Returns: Self - Styles the element IE: "font-size:12px;color:red;"
Object.insert(Element Object) | Returns: Self - Insert an element object into another
Object.add_attribute( str_attribute ) | Returns: Self - Applies an attribute to an element IE: 'class="test-class"' or 'onclick="alert('clicked!');"
Object.add_attribute( str_attribute ) | Returns: Self - Applies an attribute to an element IE: 'class="test-class"' or 'onclick="alert('clicked!');"

QuykHtml Object

Object.new( type )
Returns: Element Object - Returns an Element Object

Object.render()
Returns: The Raw HTML and opens chrome to render the HTML

Object.generate_skeleton()
Returns: N/A - Generates a simple skeleton of a website in the program directory

Element Object

Object.style.set( html_style_string )
Returns: Self - Styles the element IE: "font-size:12px;color:red;"

Object.insert(Element Object)
Returns: Self - Insert an element object into another

Object.add_attribute( str_attribute )
Returns: Self - Applies an attribute to an element IE: 'class="test-class' or 'onclick="alert('clicked!');"

Object.set_text( str_text )
Returns: Self - Sets the innerText value of the Element

What is QuykHtml?

QuykHtml was designed to make creating website elements really fast and modifying and structuring them with ease.

What Python libraries are required? The only libraries required are webbrowser and os, which come with any standard installation of Python. | How many developers are working on QuykHtml? Currently only one person is working on QuykHtml

Declare usage of bootstrap easily | Create a div and place a paragraph inside | Style a Paragraph using inline styling | Style a Paragraph using classes | Set the elements id and set the place holder attribute on the element as well | Create an on_click callback to JS Code on an element | Adding Javascript Code and using it | Create a table of 2 columns, 2 rows, create 4 P elements, and put them into the table |

This website was made using QuykHtml