From 7081d36078de6b734c16370df775d09f0f9ae9a7 Mon Sep 17 00:00:00 2001 From: Will Cosgrove Date: Mon, 2 Sep 2024 20:11:16 -0500 Subject: [PATCH] expand on html semantics parallels --- guide/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/index.md b/guide/index.md index 2ee19bf..400b2fc 100644 --- a/guide/index.md +++ b/guide/index.md @@ -4,7 +4,7 @@ Phlex is a Ruby gem for building fast object-oriented views. Phlex actually supp Phlex views are composed of components. Components can be concrete, like a **Header** or **Footer**, or more abstract like a **Button**. They can be nested in other components or wrap a layout around your content. -Templates are described using basic Ruby constructs: _methods_, _arguments_ and _blocks_, which directly correspond HTML semantics. +Templates are described using basic Ruby constructs: _methods_, _arguments_ and _blocks_, which directly correspond to HTML _tags_, _attributes_ and _content_. Building components in Ruby makes it possible to build powerful abstractions. For example, let’s build a `Nav` component that allows developers to add items to the menu without needing to understand the underlying HTML.