This paper presents a new framework for adding semantic into the mathematical expressions in the context of e-learning. The proposed system converts presentation MathML into content MathML with RDFa annotations. The objective is to add meaning into the mathematical contents, and to create a framework to facilitate the searching of mathematical contents on the web. The proposed approach relies on two principles. The first principle is the automatic semantic addition by converting presentation MathML into content MathML. The second feature of the proposed system is the ability to search for the mathematical expression and find where it is located exactly in the e-learning web page. This is accomplished by having RDFa annotations embedded in the resulted MathML.