Done deal thanks. Handier than i thought. the bulb has 2 filaments. So one of the filaments is a daylight running lamp and the other must be the fog light part but there's no option to turn on front fog lights in the car. I can see where the rear fog switch is but not the front fogs. Maybe it's an option and it's not in my car?
If your car was built without the front fog lights feature, this should be evident from the relevant steering-wheel stalk switch that also turns the rear fog light on (see 1st attachment below). If the switch marked "1" on the stalk can be moved downwards to turn on the rear fog light, but cannot be moved upwards to the front fog lights position, the car does not have the front fog lights feature.
2nd generation (2014-2018) i10s have different frontal treatments depending on when the vehicle was built and/or the exact i10 model. For example, the 2nd attachment shows a 2015 i10 with front fog lights and LED DRLs.
If the switch marked "1" on the stalk can be moved downwards to turn on the rear fog light, but cannot be moved upwards to the front fog lights position, the car does not have the front fog lights feature.
A P21/5W bulb has two filaments - a 25W filament and a 5W filament.
It's most commonly used in a rear combined Stop & Tail light-unit (as mentioned in the table you provided) but - for the year/model of i10 car you have - Hyundai evidently employs the bulb to provide a 21W DRL and a 5W front 'position' light.
You should be able to confirm easily enough that this is the case, as the 5W filament should illuminate when you switch on the parking ('position') lights and the 21W filament should illuminate when the car's motor is running and the handbrake has been released.
(I don't know which model of i10 you have, nor its age, but i10 "S" models built around 2015 appear to have this type of front light-unit in their bumper.)