Given a set $X$ and a family of topological spaces $(Y_i)_{i \in I}$ and functions $f_i : X \to Y_i$, we can define a topology on $X$ called the initial topology on $X$ with respect to the topological spaces and functions $(Y_i, f_i)_{i \in I}$. This topology is defined to be the coarsest/weakest/smallest topology with respect to which all the maps $f_i$ are continuous. In terms of open sets, all sets of the form $f_i^{-1}(U)$ for $U$ open in $Y_i$ and some $i \in I$ forms a subbasis of this (the initial) topology on $X$. Also, a net $(x_j) \subseteq X$ converges to $x \in X$ with respect to this topology if and only if $f_i(x_j) \to f_i(x)$ in $Y_i$ for every $i \in I$.
Using this procedure, we can define the weak and strong operator topology on $B(\mathcal{H})$, the $C^*$-algebra of all bounded linear operators on the Hilbert space $\mathcal{H}$, via certain families of seminorms. According to the book An introduction to $II_1$ factors, the weak operator topology is the initial topology generated by the seminorms $p_{\xi , \eta}(x) := |\langle \xi , x \eta \rangle |$ for all $\xi , \eta \in \mathcal{H}$, while the strong operator topology is the initial topology generated by the seminorms $p_{\xi}(x) = \|x \xi\|$ for all $\xi \in \mathcal{H}$. Hence, $(x_i)_{i \in I} \subseteq B(\mathcal{H})$ converges to $x \in B(\mathcal{H})$ with respect to the weak topology if and only if $|\langle \xi , x_i \eta \rangle | \to |\langle \xi , x \eta \rangle |$ for every $\xi , \eta \in \mathcal{H}$, while it converges with respect to the strong operator topology if and only if $\|x_i \xi\| \to \|x \xi\|$ for every $\xi \in \mathcal{H}$.
However, in many other sources (wiki, Conway's book on functional analysis, etc.), the weak and strong operator topology seem to be defined slightly different. According to these other sources, $x_i \to x$ in the weak operator topology if and only if $\langle \xi , x_i \eta \rangle \to \langle \xi , x \eta \rangle$ for all $\xi ,\eta \in \mathcal{H}$, while $x_i \to x$ in the strong operator topology if and only if $\|(x_i - x) \xi \| \to 0$ for all $\xi \in \mathcal{H}$. This is slightly different from what I wrote above. Perhaps I am being dumb, but I don't quite see the equivalence between the way the weak and strong operator topology are defined in...compared to other sources.
If $\langle \xi , x_i \eta \rangle \to \langle \xi , x \eta \rangle$, then, because the absolute value function is continuous, we have that $|\langle \xi , x_i \eta \rangle| \to | \langle \xi , x \eta \rangle |$, but I don't see how the converse holds. Again, if $\|(x_i - x) \xi \| \to 0$, then, using the reverse triangle inequality, we have
$$|~ \|x_i \xi \| - \|x \xi \| ~ | \le \|x_i \xi - x \xi \| = \|(x_i -x) \xi \| \to 0$$
But I don't see why the converse holds.