Skipping the method of assigning semantic wrappers can really feel tempting. It ceaselessly way development the web page first, then going again to configure tags for each and every part, and repeating that paintings on each new phase or web page.
Divi 5 gets rid of this friction via the use of presets. You’ll outline semantic tags as soon as on the default stage, and each part you upload in a while will mechanically observe the right kind HTML construction.
On this put up, you’re going to be informed which preset settings to configure so your builds are semantically sound from the beginning, even ahead of you start growing pages. Take a look!
What Are Semantic Tags?
Each and every part on a webpage is wrapped in a tag. Some tags describe the kind of content material they comprise. Those are semantic tags. The phrase semantic way “when it comes to that means,” so semantic tags upload that means on your markup.
Tags like header, nav, major, phase, article, apart, and footer fall into this class. A header tag tells browsers this content material purposes as a header. A nav tag signifies navigation. An editorial tag marks content material that stands on my own, like a weblog put up. Every tag describes what’s within it, no longer simply that one thing exists there.
Different tags function impartial wrappers that don’t describe the content material sort. Those generic packing containers dangle parts in combination for styling or format, however put across not anything to browsers in regards to the web page’s serve as or objective.
And Why They Topic
Display readers depend on semantic tags to assist guests transfer via your website online very easily. Whilst you label your sections correctly, other people can skip instantly to what they want. They don’t must plow through each part so as. Your markup turns into useful, no longer simply visible.
Engines like google learn the similar code. Their bots scan for semantic alerts to determine how your content material connects and which portions elevate essentially the most weight. Blank tagging provides them a transparent map of your website online. They are able to’t see your format or styling anyway, so the markup itself does the heavy lifting.
Divi 5’s Presets: A Robust, Attached Design Device
Divi 5 provides an HTML option group to the Complex tab of each part’s settings, together with sections, rows, columns, and modules. Open any part’s settings, and you’ll be able to make a choice an Part Sort from semantic tags like header, nav, major, article, apart, footer, and extra.
This environment replaces the default wrapper tag with the tag you select, anyplace wanted. You’ll additionally bake the ones possible choices into presets, so each new part you create already has the right kind Part Sort connected. The preset gadget in Divi 5 has a particular construction, and understanding the place semantic tags are compatible into that construction determines how neatly your workflow scales.
Right here’s how Divi 5’s preset gadget works:
Possibility Crew Presets And Part Presets
Option Group Presets shape the spine of Divi 5’s design gadget. Every one controls a unmarried possibility staff. You get presets for borders, shadows, textual content, animations, and interactions.
Save a border radius as one preset. That radius can pull from a Design Variable. Save a shadow setup as every other preset. Now practice each to totally other spots to your website online. A border preset you made for a column works the similar manner in a blurb or name to motion.
Not anything ties those presets to 1 part sort. They transfer freely anyplace the similar possibility staff exists. You’ll nest them, too.
Element Presets cross deeper. They seize each taste element of person parts, similar to buttons or sections. They simply paintings inside matching modules. Save an Part Preset for a button, and also you retailer all of it. Colours, spacing, fonts, shadows, borders. The entirety will get bundled in combination. Follow that preset to any button and your design remains constant.
Part Presets can stack as neatly.
How They Paintings In combination
This two-tier construction provides you with flexibility. Possibility Crew Presets permit you to keep an eye on person possibility teams with precision. Part Presets provide you with velocity when you want whole designs able to head. Part Presets too can reference Possibility Crew Presets.
This creates a attached gadget. Consistency will get in-built mechanically.
Use a textual content possibility staff preset in a blurb part. That very same preset can taste textual content on your accordions, tabs, and different parts. When you want to make adjustments, you replace as soon as. No want to seek out and edit each and every part preset one after the other.
The Preset Supervisor
The Preset Manager provides you with one workspace for all your preset library. Click on the icon within the sidebar to look each preset you’ve created, arranged in a searchable, filterable listing with each Possibility Crew Presets and Part Presets.
Upload new presets proper from this panel, plus edit, reproduction, delete, reorder, or set defaults with out searching via person parts on other pages.
This keep an eye on saves time as your library grows. Whilst you edit a preset right here, a reside preview seems subsequent on your settings so you spot precisely how adjustments glance with out touching your exact web page content material.
You’ll set the preview towards other background colours out of your website online’s variables, catching distinction problems ahead of they cross reside.
Why Collect Optimum Semantic Tags In Presets
Presets already dangle your visible types: colours, spacing, typography. Including semantic tags helps to keep your markup selections along your design possible choices in a single position.
This turns into related as websites develop. A three-page portfolio may keep manageable, however a 50-page industry website online with a couple of staff individuals can fall aside briefly. Any individual may wrap content material in article tags, whilst every other may skip them completely. Semantic possible choices get started being spotty, and pages finally end up inconsistent. Solving it way manually checking each unmarried example.
Storing semantic tags in default presets solves this on the supply. Whilst you modify one thing, you replace the preset. The alternate flows to each part the place the preset applies, and also you get a unmarried reference level for all your markup construction.
Configuring Semantic Tags In Presets
Let’s get started via growing column presets, since columns are one of the used parts. Click on the Preset Supervisor icon on your sidebar. This opens a panel with two tabs: Components and Teams.
![]()
Ahead of You Make A Selection…
You’ll save a column’s semantic tag in two puts: within a Column Part Preset or as an HTML Possibility Crew Preset. Each approaches paintings. The variation is in how reusable they’re.
Part Presets are tied to a unmarried part sort. A Column Part Preset can come with the HTML possibility staff settings, together with Part Sort. This is handy when one preset equals one whole column trend. But when you wish to have the similar styled column for use with other semantic wrappers (as an example, every now and then major, every now and then apart), you find yourself duplicating the similar column styling throughout a couple of Column Part Presets simply to modify the Part Sort.
Possibility Crew Presets are reusable anyplace that the similar possibility staff exists. So for those who create an HTML Possibility Crew Preset that most effective units Part Sort, you’ll be able to stay your column styling in a single Column Part Preset, then layer the semantic wrapper selection on best via settling on a unique HTML Possibility Crew Preset when wanted. That helps to keep the styling and the semantic wrapper unbiased, which is generally more straightforward to deal with at scale.
Development Commonplace HTML Possibility Crew Presets For Columns
Move to the Teams tab. Seek for “HTML” or scroll to seek out the HTML possibility staff. Make a choice it and click on Upload New Preset. The settings panel opens.

Set the Part Sort dropdown to apart. Title this preset “Apart Wrapper” and save. This tag must be used for supplementary content material like writer bios, comparable posts, or promotional widgets that relate to, however stand break away, the primary tale.

Imagine including presets for different not unusual wrappers as neatly:
- Major Wrapper: Set Part Sort to major. This identifies the main content material column. Use as soon as according to web page for the core content material that guests got here to look.
- Nav Wrapper: Make a choice nav for columns containing menus, class lists, or website online navigation hyperlinks.
- Phase Wrapper: Pick out phase for columns grouping comparable content material below a theme. Product options or provider listings are compatible right here.
- Article Wrapper: Make a choice article for standalone content material like weblog posts, information tales, or product descriptions.
Now, you could have presets able for the 5 maximum not unusual column tags.
We didn’t assign any of those as a default as a result of each and every column on a web page serves a unique objective. Surroundings one tag as default way each column you drop onto the web page inherits the similar wrapper, and maximum of them will likely be mistaken. Wrong semantic tags misinform display readers and serps the similar manner lacking tags do. Follow those presets as wanted.
Return to the Part tab, in finding “column”, and create Part Presets in your columns. Upload colours, spacing, borders, shadows, and extra. The most productive workflow this is to create Possibility Crew Presets in your types and reference them, whilst additionally the use of Design Variables to stay values constant throughout modules.
Configure Default Presets
Columns be offering flexibility, so Possibility Crew Presets paintings neatly there. There are circumstances the place assigning a default Part Preset makes extra sense. Let’s have a look.
Development A Preset For Sections
Get started with sections. Open the Preset Supervisor and in finding Phase below Components.

Click on Upload New Preset. Taste it as wanted, then cross to the HTML possibility staff and set Part Sort to phase.

Toggle “Assign As Default” on and save.

Now upload a contemporary phase to any web page. Open its Complex settings, and the HTML possibility staff already reads phase. The tag is there ahead of you set a unmarried row or module within it. That toggle makes a preset energetic moderately than retaining it on your library.

If a specific phase wishes a unique tag, simply make a choice one of the vital HTML Possibility Crew Presets you created previous from the HTML possibility staff. That switch most effective impacts the environment you modified. The entirety else remains intact with out breaking the gadget.
This means maintains construction whilst nonetheless permitting customization. Construct with presets as your basis, then modify particular parts when your design calls for one thing other.
Including HTML Tags For Icon Lists
Let’s stroll via every other instance the use of an Icon Checklist and Icon Checklist Pieces:
Now, in finding Icon Checklist below Components within the Preset Supervisor. Click on Upload New Preset. This creates an Part Preset that captures the whole thing about your icon listing in one position.
Taste your listing first. Set colours, spacing, and typography. Pick out your icon taste and dimension. Now upload the HTML wrapper. Set Part Sort to ul for an unordered listing. This makes your listing semantically right kind via default.

Then, in finding the Icon Checklist Merchandise within the Components listing. Click on Upload New Preset. This types your own listing pieces. Set colours, spacing, and typography for the textual content. Pick out your icon taste and dimension.
Set Part Sort to li since each and every merchandise turns into a listing merchandise.

Ahead of saving each and every preset, toggle “Assign As Default” on. Do that for the Icon Checklist preset and once more for the Icon Checklist Merchandise preset.
Now, upload a brand spanking new Icon Checklist module on your web page. Open its settings. The Part Sort already reads ul. Open any listing merchandise, and the Part Sort already reads li. Each tags are there ahead of you configure anything else. No dropdown opened. No possibility staff touched.
Including Accessibility Attributes
While you’re there, below Attributes, click on Upload Characteristic. Set Goal Part to Symbol or Icon, Characteristic Title to aria-hidden, and Characteristic Worth to true.
![]()
Icons in Icon Lists are generally ornamental. They upload visible hobby however don’t put across that means that display readers want to announce. Hiding them helps to keep the enjoy cleaner for other people the use of assistive generation.
On this case, we baked the wrappers (and attributes) without delay into the Part Presets as a result of you’re going to hardly ever want anything else past the wrapper and accessibility setup when they’re configured.
Those tags are preferrred defaults for the Icon Checklist and Icon Checklist Merchandise, however we incorporated the stairs anyway as a useful instance of when to make use of Part Presets as opposed to Possibility Crew Presets.
Likewise, parts like Symbol and Button already use suitable tags via default, and respectively, so their Part Presets must center of attention purely on visible styling as an alternative. No Possibility Crew Preset is needed for the ones parts both, since right kind tags are implemented from the beginning.
Follow Those Presets Throughout Your Web site
Making use of your presets works via two easy paths, relying on the place you saved what:
For HTML wrapper Possibility Crew Presets: cross to Complex > hover over the HTML possibility staff > preset icon, and make a choice your Possibility Crew Preset.
To use an Part Preset, click on the preset selector on the best proper of the settings panel and make a choice your Part Preset from the dropdown.
As we discussed previous, those presets aren’t fastened constraints. The entirety stays adjustable. Follow an Part Preset, then switch out person possibility teams inside it for various results. Or upload customized values without delay to precise settings. Both manner, most effective the environment you contact adjustments. The entirety else remains intact.

Developing Presets From Present Portions
Possibly you constructed your website online ahead of fascinated with semantic tags. The pages paintings advantageous, however the whole thing nonetheless makes use of generic div wrappers. You’ll upload right kind markup to these current parts and switch them into presets concurrently.
Open any phase, row, column, or module to your website online. Move to Complex settings and in finding the HTML possibility staff. Set the Part Sort to the proper semantic tag for what that part does.
As soon as configured, hover over the HTML possibility staff and click on the preset icon that looks. Make a choice Create a brand new preset out of your present settings. Title it obviously, like “Article Wrapper” or “Nav Column.”
The similar works for Part Presets.

Prolong HTML Wrappers To A couple of Components
Possibly you place Part Sort to apart on one column, then discovered a couple of others throughout your web page want the similar semantic tag. Prolong Attributes can practice that wrapper selection in one motion, moderately than opening each and every part one after the other.
Proper-click the HTML possibility staff and make a choice Prolong Attributes.

Set your scope to Complete Web page, select which part sorts to focus on, and click on Prolong Attributes. This extends the Part Sort environment with out touching any styling.
Each and every matching part inherits that semantic wrapper immediately. Use this when retrofitting websites or while you notice partway via a construct that a couple of parts want constant markup. But when your presets already take care of wrapper allocation correctly, you gained’t want this step in any respect.
Check out Semantic Components In Divi 5 Nowadays!
Your website online’s semantic basis will get set ahead of you set the primary module. Default presets take care of the markup paintings mechanically, so each new part follows right kind construction with out further steps.
You gained’t want to retrofit anything else later or manually test dozens of pages. And while you do want to, Divi 5 supplies gear like Prolong Attributes that can assist you practice constant markup briefly.
Obtain Divi 5 and let presets do the heavy lifting whilst you construct pages that paintings neatly for everybody who visits.
The put up Configuring Optimal Semantic Tags In Divi 5’s Default Presets gave the impression first on Elegant Themes Blog.



0 Comments