Skip to content

Commit f9bd4c9

Browse files
committed
Update README.md
1 parent ca23307 commit f9bd4c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ A set of classes that provide basic web pages creation utilities in addition to
5757

5858
The basic use case is to have HTML document with some text in its body. The class `HTMLDoc` represent HTML document. Simply, create an instance of this class and use it to build the whole HTML document. The class can be used as follows:
5959
``` php
60-
use WebFiori\UI\HTMLDoc;
60+
use WebFiori\Ui\HTMLDoc;
6161

6262
//This code will create HTML5 Document, get the <body> node and, add text to it.
6363
$doc = new HTMLDoc();
@@ -85,7 +85,7 @@ The output of this code is HTML 5 document. The structure of the document will b
8585
All HTML elements are represented as an instance of the class `HTMLNode`. Developers can extend this class to create custom UI components as classes. The library has already pre-made components which are used in the next code sample. In addition to that, the class has methods which utilize theses components and fasten the process of adding them as children of any HTML element. The following code shows a code which is used to create a basic login form.
8686

8787
``` php
88-
use WebFiori\UI\HTMLDoc;
88+
use WebFiori\Ui\HTMLDoc;
8989

9090
//Create new instance of "HTMLDoc".
9191
$doc = new HTMLDoc();

0 commit comments

Comments
 (0)