ATLANTA (AP) — Almost all U.S. teens have had formal sex education but only about two-thirds have been taught about birth control methods, according to a new government report released Wednesday.

Many teens apparently are not absorbing those lessons. Other recent data show that, after years of steady decline, the teen birth rate rose from 2005 to 2007. It dipped again in 2008, to about 10 percent of all births.

The report from the Centers for Disease Control and Prevention is based on face-to-face interviews with nearly 2,800 teenagers in their homes from 2006 through 2008. Female interviewers from the University of Michigan asked the questions for the CDC.

About 97 percent of teens said they received formal sex education by the time they were 18. Formal sex education was defined in the report as instruction at a school, church, community center or other setting teaching them how to say no to sex or about birth control and sexually transmitted diseases.

Lessons about saying no and STDs were more common than instruction on how to use a condom or other birth control, the study found.

Overall, about two-thirds of teens got birth control instruction by the end of high school – about 62 percent of boys and 70 percent of girls.

In contrast, about 92 percent of boys and girls reported being taught about sexually transmitted diseases and almost that many learned about preventing infection with the AIDS virus. About 87 percent of girls and 81 percent of boys were taught how to say no to sex.

The study also found that younger teen girls were more likely than boys to have talked to their parents about sex and birth control and how to say no to sex.

The report does not address trends in sex education. But many of the findings were similar to some CDC research conducted in 2002.