Legislators are trying to tell marketers they can't advertise sex, alcohol and tobacco to youngsters online just as they can't on TV or in print.