external help file: pshtml-help.xml Module Name: PSHTML online version: schema: 2.0.0
Div
SYNOPSIS
Generates a DIV HTML tag.
SYNTAX
Div [[-Content] <ScriptBlock>] [[-Class] <String>] [[-Id] <String>] [[-Style] <String>]
[[-Attributes] <Hashtable>] [<CommonParameters>]
DESCRIPTION
{{Fill in the Description}}
EXAMPLES
EXAMPLE 1
The following examples show cases how to create an empty div, with a class, an ID, and, custom attributes.
div -Class "myclass1 MyClass2" -Id myid -Attributes @{"custom1"='val1';custom2='val2'}
Generates the following code:
\<div Class="myclass1 MyClass2" Id="myid" custom1="val1" custom2="val2" > \</div>
PARAMETERS
-Content
{{Fill Content Description}}
Type: ScriptBlock
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Class
{{Fill Class Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Id
{{Fill Id Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Style
{{Fill Style Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Attributes
{{Fill Attributes Description}}
Type: Hashtable
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Current version 1.0 History: 2018.04.10;Stephanevg; Added parameters 2018.04.01;Stephanevg;Creation.
RELATED LINKS
Information on the div HTML tag can be found here --> https://www.w3schools.com/tags/tag_div.asp