Yahoo and Google have different algo. Yahoo mainly depends on On page factors like Hx's and titles where as Google is mainly driven by off page factors and backlinks