Looking at the elated faces in the crowd, many stamped with that Facebook “Like,” it almost seemed as if the tech industry and the gay communities in San Francisco had merged in a kind of ecstatically branded, hashtag-enabled celebration of shared ascendancy. And yet, for all these public strides, insiders say the culture has yet to fully transcend its frat-boy programmer reputation. Perhaps that is why companies like Facebook are aggressively recruiting and supporting L.G.B.T. employees and offering what Sara Sperling, its senior manager of diversity, calls “unconscious bias training.”

“It’s not about telling them they’re bad,” Ms. Sperling, 42, said of Facebook’s two-hour training course aimed at increasing understanding of the need for diversity in the workplace. “It’s recognizing bias and what are you going to do about it?”

“We realize we have a really complex product and we need a lot of different people with different perspectives,” Ms. Sperling said. That partly explains the company’s effort to create a more inclusive user experience, most recently changing its drop-down menus to include 50 kinds of gender identification. (In 2012, Glaad honored Facebook with an award for efforts on behalf of L.G.B.T. users.)

Back at the parade, Tim Cook, Apple’s chief executive, described by The Wall Street Journal as “a vocal supporter of gay rights,” marched with his employees and the company posted a video shortly afterward showing Mr. Cook mingling and high-fiving Apple employees. Apple has long been in favor of same-sex marriage and put out a strongly worded statement of support when the Supreme Court struck down the Defense of Marriage Act in 2013.

This is by no means a new trend. Last year, Google’s parade T-shirts showed the word “pride” nestled within Google-color brackets, a sly programming reference even the most casual computer user could easily understand: Pride is written into the company’s operating system. And Mark Zuckerberg, Facebook’s founder and chief executive, marched in the parade. “People were like, ‘Hey, I kind of know that guy,’ ” said Mike Rognlien, 41, a Facebook employee whose title is (really) “Builder of Awesome Managers” and who accompanied the founder at the parade. “The reaction when they realized it was Mark was touching.”