Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected casing description of attributes #11

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Each HTML attribute has a corresponding class defined in the ``htmlBuilder.attri
Every ``HtmlTag`` is initialized with zero or more. If it receives one or more parameters, then the first must be a python iterable with zero or more ``HtmlTagAttribute`` instances.

.. note::
Attribute class names are created by "camel casing" their corresponding HTML names. This process is done by uppercasing each letter after a hyphen(-) and then removing each of the hyphens. E.g.
Attribute class names are created by "title casing" their corresponding HTML names. This process is done by uppercasing each letter after a hyphen(-) and then removing each of the hyphens. E.g.
- ``class`` -> ``Class``
- ``id`` -> ``Id``
- ``accept-charset`` -> ``AcceptCharset``
Expand Down