Also can you charge tablet/phone using the USB ports? is solved
as the title
USB ports do transmit power, I was able to power my Pi from a laptop and a USB-MicroUSB adapter. That means that technically you could charge a phone/tablet with a Pi, but the power output is very low and the consumption might be more than the input. You should use a powered USB hub.