Education

So would I have to claim just the percentage used for school or could I claim the entire amount? I've seen it's common to claim the entire cost of a laptop even though it might be used for other things, so I was curious if this applied to the internet bill as well.