Makes sense. If a device was flagged as < 18, then that device could include that info in each http request and www sites could respond accordingly.
Would be easy, could be as simple as a checkbox in OS settings or parental security settings that are easily found in Apple & Microsoft.