A series of oxime ethers with C6-C4 fragment was designed and virtually bioactively screened by docking with a target, then provided by a Friedel–Crafts reaction, esterification (or amidation), and oximation from p-substituted phenyl derivatives (Methylbenzene, Methoxybenzene, Chlorobenzene). Anti-hepatitis B virus (HBV) activities of all synthesized compounds were evaluated with HepG2.2.15 cells in vitro. Results showed that most of compounds exhibited low cytotoxicity on HepG2.2.15 cells and significant inhibition on the secretion of HBsAg and HBeAg. Among them, compound 5c-1 showed the most potent activity on inhibiting HBsAg secretion (IC50 = 39.93 μM, SI = 28.51). Results of the bioactive screening showed that stronger the compounds bound to target human leukocyte antigen A protein in docking, the more active they were in anti-HBV activities in vitro.