Not working Components from

HI all,

i want report something, i am newbiee here
i try to learn ionic components from

but its doesn`t working
exsample :

<ion-label position="floating">Floating</ion-label>

but when i try

<ion-label floating>Floating</ion-label>

it`s work why it can be happend, other exsample
this is not working


but when i change to

and here my ionic info


ionic (Ionic CLI) : 4.7.1 (C:\Users\Dataon-User\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.1


NodeJS : v8.12.0 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10

so something wrong with docs or there is bug from ionic ?

sorry if my english bad, hekp me please

omg sorry everybody i am wrong read documentation i read ionic framework 4.0
i should read