replaced more deprecated HTML attributes