Generally speaking, regionally accredited high school diplomas are more widely accepted than nationally accredited diplomas. This is because regional accreditation is considered to be a more rigorous standard. However, some universities may also accept nationally accredited diplomas, especially if the program is from a reputable institution.
In addition to accreditation, the university may also consider other factors such as the curriculum of the program, the student's grades, and the student's standardized test scores.
If you are considering earning your high school diploma through an on-line distance learning program, it is important to do your research and make sure that the program is accredited and that it is accepted by the universities to which you may apply.