On the occasion, president Maithripala Sirisena was given a copy of the document, prepared by the Professional Web Journalists Association with the assistance of senior journalist Kusal Perera, civil society activist Gamini Viyangoda and director general of government information Sudarshana Gunawardena among others.
Speaking here, president Sirisena said a code of ethics for the web media was timely for media and political fields and for the entire society.
He said he would meet with web journalists soon to discuss their problems.
Also present on the occasion were media minister Mangala Samaraweera, convener of the association Freddie Gamage and secretary Kelum Shivantha.
Pictures: Deva Jayawardena