"Malala's bravery in standing up for the right of all young girls in Pakistan to an education is an example to us all," said Mr Hague.
"Our thoughts remain with Malala and her family at this difficult time.
"The public revulsion and condemnation of this cowardly attack shows that the people of Pakistan will not be beaten by terrorists.
"The UK stands shoulder to shoulder with Pakistan in its fight against terrorism."
Malala was shot with two classmates as they made their way home from school in Swat, in the north west of Pakistan. She was attacked by the Taliban for promoting the education of girls and criticising the militant group.