Militants attacked a local television headquarters north of Baghdad on Monday, detonating bombs and then storming the building, police and a journalist said.