diff --git a/language/oop5/inheritance.xml b/language/oop5/inheritance.xml
index be546a2ba9..1139887a1f 100644
--- a/language/oop5/inheritance.xml
+++ b/language/oop5/inheritance.xml
@@ -18,6 +18,15 @@
need to reimplement all of the shared functionality.
+
+
+ Unless autoloading is used, then classes must be defined before they are
+ used. If a class extends another, then the parent class must be declared
+ before the child class structure. This rule applies to class that inherit
+ other classes and interfaces.
+
+
+
Inheritance Example
@@ -59,14 +68,6 @@ $bar->printPHP(); // Output: 'PHP is great'
-
-
- Unless autoloading is used, then classes must be defined before they are
- used. If a class extends another, then the parent class must be declared
- before the child class structure. This rule applies to class that inherit
- other classes and interfaces.
-
-