<!DOCTYPE html>
<svg width="100" height="100">
  <pattern id="p" width="1" height="1">
    <rect width="100" height="100" fill="green"/>
  </pattern>
  <rect width="100" height="100" fill="url(#p)"/>
</svg>
