This course will be retired on July 14, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Looking at all that Java code gets difficult to manage. Let's work on a best practice of using FXML.
Learn More
Terminology
- Markup Language
- XML - eXtensible Markup Language
- HTML - HyperText Markup Language
- Processing Instructions (PI)
- Element
- Tag name - The name given to the element, the first word inside the element.
- Attributes - Key value separated by an equals sign. Such as
text="Hello"
- Auto closing - This is used for elements that will not have children. Places the forward slash at the end of the tag. Like so:
<TagName />
or<MountainGoat />
- Namespace - Used to declare a new prefix, we saw
fx:
used and it will tell the processor of the markup how to ensure the tag is valid.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Chance Edward
4,507 Points0 Answers
-
Chance Edward
4,507 Points0 Answers
-
Gustáv Foltin
16,402 Points1 Answer
-
Paige Jones
20,144 Points1 Answer
-
Paramvir Singh
1,517 Points1 Answer
-
Paramvir Singh
1,517 Points1 Answer
-
Razvan Cirstea
2,493 Points1 Answer
-
PLUS
Sean Hayes
Courses Plus Student 8,106 Points11 Answers
-
Rokas Mazeika
4,243 Points4 Answers
-
Paul Elliott
2,882 Points1 Answer
-
Jimmy Palelil
9,565 Points2 Answers
-
Gaspar Soto
6,945 Points1 Answer
-
Dennis Aguilar
3,249 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up