CINCINNATI, June 16— The frenetic activity of signing up television network affiliates continued today, with the E. W. Scripps Company and Capital Cities/ABC Inc. announcing a 10-year affiliation covering five of the largest markets in the United States.

Scripps said two of its stations currently affiliated with Rupert Murdoch's Fox Television would switch to the ABC network, while the affiliation for a third station linked to Fox was still being pursued. One other station will switch to ABC from NBC.

In late May, Fox and New World Communications stunned the broadcasting industry in announcing a $500 million deal that will give Fox 12 stations now affiliated with CBS, NBC and ABC.

Under the latest agreement, the Scripps stations in Tampa, Fla.; Phoenix and Baltimore will join the company's stations in Detroit and Cleveland as affiliates of ABC.

The Scripps stations in Phoenix and Tampa are currently affiliated with Fox, but have been notified of Fox's plan to move its programming to other stations.

The Scripps station in Baltimore is currently an affiliate of NBC. The company's other NBC affiliates are KJRH in Tulsa, Okla., and WPTV in West Palm Beach, Fla.

Scripps, through its Scripps Howard Broadcasting unit, owns nine network-affiliated television stations and cable TV systems; Cinetel Productions, a cable programmer, and the Home and Garden Television Network, a 24-hour cable channel to be introduced later this year.

It also operates 19 daily newspapers -- The Rocky Mountain News in Denver is its largest -- and United Media, a syndicator and licenser of news features and comics.