In this case, the web document is your professional profile, and the outcome you want is for your professional profile to rank as highly as possible in the search results for the keywords most closely associated with the job you want.
He was a professional soldier, having joined the army at 17, gradually rising to the rank of lieutenant-colonel, partly through luck, partly because of his mastery of army bureaucracy.