Content can be masked or clipped using either "<mask>" for raster image masking or "<clipPath>" for vector-based clipping.